fmu:Ensure work_stop still called work_cancel

This commit is contained in:
David Sidrane
2017-03-23 08:28:15 +01:00
committed by Lorenz Meier
parent 9227547886
commit 07834e51b7
+1
View File
@@ -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) {