autotest: correct MANUAL test

Wasn't picking up that subsequent channels were acting just like the
first
This commit is contained in:
Peter Barker 2019-12-04 12:44:47 +11:00 committed by Peter Barker
parent 1d6d78c0d4
commit 160621d0be

View File

@ -92,11 +92,10 @@ class AutoTestTracker(AutoTest):
def MANUAL(self): def MANUAL(self):
self.change_mode(0) # "MANUAL" self.change_mode(0) # "MANUAL"
for x in 1200, 1600: for chan in 1, 2:
self.set_rc(1, x); for pwm in 1200, 1600, 1367:
self.set_rc(2, x); self.set_rc(chan, pwm);
self.wait_servo_channel_value(1, x) self.wait_servo_channel_value(chan, pwm)
self.wait_servo_channel_value(2, x)
def SERVOTEST(self): def SERVOTEST(self):
self.change_mode(0) # "MANUAL" self.change_mode(0) # "MANUAL"