diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index a607e0bbee..bdc0e169e4 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -268,8 +268,7 @@ void Sub::one_hz_loop() // make it possible to change ahrs orientation at runtime during initial config ahrs.update_orientation(); - // set all throttle channel settings - motors.set_throttle_range(channel_throttle->get_radio_min(), channel_throttle->get_radio_max()); + motors.update_throttle_range(); } // update assigned functions and enable auxiliary servos diff --git a/ArduSub/radio.cpp b/ArduSub/radio.cpp index 56e955641d..a1495a799c 100644 --- a/ArduSub/radio.cpp +++ b/ArduSub/radio.cpp @@ -52,7 +52,7 @@ void Sub::init_rc_out() motors.set_update_rate(g.rc_speed); motors.set_loop_rate(scheduler.get_loop_rate_hz()); motors.init((AP_Motors::motor_frame_class)g.frame_configuration.get(), AP_Motors::motor_frame_type::MOTOR_FRAME_TYPE_PLUS); - motors.set_throttle_range(channel_throttle->get_radio_min(), channel_throttle->get_radio_max()); + motors.update_throttle_range(); // enable output to motors if (arming.rc_calibration_checks(true)) {