From 97403e43a37e8147500f281f7d22bb4a5c20a38f Mon Sep 17 00:00:00 2001 From: James O'Shannessy <12959316+joshanne@users.noreply.github.com> Date: Mon, 25 Mar 2024 13:22:53 +1100 Subject: [PATCH] MAVExplorer: decode devid for all param starting with INS --- MAVProxy/tools/MAVExplorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAVProxy/tools/MAVExplorer.py b/MAVProxy/tools/MAVExplorer.py index bf084c7b28..8608bf059a 100755 --- a/MAVProxy/tools/MAVExplorer.py +++ b/MAVProxy/tools/MAVExplorer.py @@ -1246,7 +1246,7 @@ def cmd_devid(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(params[p], p) - if p.startswith('INS_') and p.endswith('_ID'): + if p.startswith('INS') and p.endswith('_ID'): mp_util.decode_devid(params[p], p) if p.startswith('GND_BARO') and p.endswith('_ID'): mp_util.decode_devid(params[p], p)