Tools: autotest: allow switch to debounce in aux-switch test

This commit is contained in:
Peter Barker 2019-06-14 09:22:59 +10:00 committed by Peter Barker
parent bba81b2794
commit 326e208123
1 changed files with 1 additions and 0 deletions

View File

@ -3339,6 +3339,7 @@ class AutoTestCopter(AutoTest):
self.assert_mission_count(5)
self.progress("Clear mission")
self.set_rc(7, 2000)
self.delay_sim_time(1) # allow switch to debounce
self.assert_mission_count(0)
self.set_rc(7, 1000)
self.set_parameter("RC7_OPTION", 24) # reset mission