Tools: fixed EFI test suite disarm

This commit is contained in:
Andrew Tridgell 2023-11-16 15:43:12 +11:00
parent f12166c2d4
commit d625a1b13b
1 changed files with 4 additions and 1 deletions

View File

@ -4262,7 +4262,10 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
if abs(m.fuel_flow - 0.2) < 0.0001:
raise NotAchievedException("Expected fuel flow")
self.disarm_vehicle()
self.set_rc(3, 1000)
# need to force disarm as the is_flying flag can trigger with the engine running
self.disarm_vehicle(force=True)
def MegaSquirt(self):
'''test MegaSquirt driver'''