mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
Restores Dshot trigger condition and adds dynamic mixing condition
This commit is contained in:
@@ -478,7 +478,9 @@ bool DShot::updateOutputs(bool stop_motors, uint16_t outputs[MAX_ACTUATORS],
|
|||||||
_current_command.clear();
|
_current_command.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
up_dshot_trigger();
|
if (stop_motors || num_control_groups_updated > 0 || _mixing_output.useDynamicMixing()) {
|
||||||
|
up_dshot_trigger();
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user