From 61a047bc78b72114235f3273b12d32df68d7fcc3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 26 Aug 2023 11:28:33 +1000 Subject: [PATCH] autotest: fix CompassPrearms; don't leave vehicle in bad state --- Tools/autotest/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 5f945dd0f4..f0c6cde6ab 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -12987,6 +12987,7 @@ switch value''' }) self.assert_prearm_failure("Compasses inconsistent") self.context_pop() + self.wait_ready_to_arm() def AHRS_ORIENTATION(self): '''test AHRS_ORIENTATION parameter works'''