Browse Source

Changes Dshot commands to always trigger from updateOutputs(), unless outputs are completely off

master
Charles Cross 3 years ago committed by Beat Küng
parent
commit
59f9a40584
  1. 2
      src/drivers/dshot/DShot.cpp

2
src/drivers/dshot/DShot.cpp

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

Loading…
Cancel
Save