Sub: clear spool-up block each cycle in motors_output

This commit is contained in:
Leonard Hall
2026-05-20 10:38:50 +10:00
committed by Peter Barker
parent 48af7707ba
commit 67256d852a
+6
View File
@@ -9,6 +9,12 @@ void Sub::enable_motor_output()
// motors_output - send output to motors library which will adjust and send to ESCs and servos
void Sub::motors_output()
{
// Sub has no pre-takeoff RPM gate that asserts the spool-up block,
// so clear it every cycle before motors.output() runs output_logic().
// Without this the block set during ground-idle ramp would never clear
// and the spool would stay in GROUND_IDLE.
motors.set_spoolup_block(false);
// Motor detection mode controls the thrusters directly
if (control_mode == Mode::Number::MOTOR_DETECT){
return;