From a69f40b7fbbba8844b077ee8cf30c3c790fba790 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 4 Sep 2021 18:09:37 +0100 Subject: [PATCH] Tools: autotest: update quadplane throttle min param name --- Tools/autotest/quadplane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/quadplane.py b/Tools/autotest/quadplane.py index a98cfde2c2..78ccf2ccb5 100644 --- a/Tools/autotest/quadplane.py +++ b/Tools/autotest/quadplane.py @@ -112,7 +112,7 @@ class AutoTestQuadPlane(AutoTest): raise PreconditionFailedException("FLTMODE_CH not %d" % default_fltmode_ch) """When disarmed, motor PWM will drop to min_pwm""" - min_pwm = self.get_parameter("Q_THR_MIN_PWM") + min_pwm = self.get_parameter("Q_M_PWM_MIN") self.progress("Verify Motor1 is at min_pwm when disarmed") self.wait_servo_channel_value(5, min_pwm, comparator=operator.eq) @@ -622,7 +622,7 @@ class AutoTestQuadPlane(AutoTest): # disable stall prevention so roll angle is not limited self.set_parameter("STALL_PREVENTION", 0) - thr_min_pwm = self.get_parameter("Q_THR_MIN_PWM") + thr_min_pwm = self.get_parameter("Q_M_PWM_MIN") lim_roll_deg = self.get_parameter("LIM_ROLL_CD") * 0.01 self.progress("Waiting for motors to stop (transition completion)") self.wait_servo_channel_value(5,