mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 15:33:33 +08:00
fmu:Ensure work_stop still called work_cancel
This commit is contained in:
committed by
Lorenz Meier
parent
9227547886
commit
07834e51b7
@@ -1737,6 +1737,7 @@ PX4FMU::task_main()
|
||||
|
||||
void PX4FMU::work_stop()
|
||||
{
|
||||
work_cancel(HPWORK, &_work);
|
||||
|
||||
for (unsigned i = 0; i < actuator_controls_s::NUM_ACTUATOR_CONTROL_GROUPS; i++) {
|
||||
if (_control_subs[i] > 0) {
|
||||
|
||||
Reference in New Issue
Block a user