Restores Dshot trigger condition and adds dynamic mixing condition

This commit is contained in:
Charles Cross 2022-02-22 08:58:21 -08:00 committed by Beat Küng
parent 51c055832f
commit b0352135bb
1 changed files with 3 additions and 1 deletions

View File

@ -478,7 +478,9 @@ bool DShot::updateOutputs(bool stop_motors, uint16_t outputs[MAX_ACTUATORS],
_current_command.clear();
}
up_dshot_trigger();
if (stop_motors || num_control_groups_updated > 0 || _mixing_output.useDynamicMixing()) {
up_dshot_trigger();
}
return true;
}