flip_sequencer: activate motortest_override for zero pwm in dshot
@@ -92,6 +92,7 @@ void flip_sequencer() {
}
flipstage = STAGE_FLIP_NONE;
flags.controls_override = 0;
+ flags.motortest_override = 0;
return; //turtle mode off or flying away from a successful turtle will return here
} // a disarmed quad with turtle mode on will continue past
@@ -118,6 +119,7 @@ void flip_sequencer() {
case STAGE_FLIP_START:
flags.controls_override = 1;
+ flags.motortest_override = 1;
state.rx_override.axis[0] = 0;
state.rx_override.axis[1] = 0;
state.rx_override.axis[2] = 0;
@@ -158,6 +160,7 @@ void flip_sequencer() {
readytoflip = 0;
flipstage = STAGE_FLIP_NONE;
flags.controls_override = 0;
+ flags.motortest_override = 0;
pwmdir = FORWARD;
flags.arm_safety = 1;
break;
