diff --git a/MAVProxy/modules/mavproxy_misc.py b/MAVProxy/modules/mavproxy_misc.py index 5999b4b636..e6c671f41a 100644 --- a/MAVProxy/modules/mavproxy_misc.py +++ b/MAVProxy/modules/mavproxy_misc.py @@ -488,7 +488,7 @@ def cmd_devid(self, args): if p.startswith('COMPASS_DEV_ID') or p.startswith('COMPASS_PRIO') or ( p.startswith('COMPASS') and p.endswith('DEV_ID')): mp_util.decode_devid(self.mav_param[p], p) - if p.startswith('INS_') and p.endswith('_ID'): + if p.startswith('INS') and p.endswith('_ID'): mp_util.decode_devid(self.mav_param[p], p) if p.startswith('GND_BARO') and p.endswith('_ID'): mp_util.decode_devid(self.mav_param[p], p)