mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 11:13:35 +08:00
Fix param update in mc_att_control
ModuleParams::updateParams() was never called
This commit is contained in:
committed by
Daniel Agar
parent
17551a99f8
commit
4cc7b1319f
@@ -132,6 +132,7 @@ MulticopterAttitudeControl::parameter_update_poll()
|
|||||||
_parameter_update_sub.copy(&pupdate);
|
_parameter_update_sub.copy(&pupdate);
|
||||||
|
|
||||||
// update parameters from storage
|
// update parameters from storage
|
||||||
|
updateParams();
|
||||||
parameters_updated();
|
parameters_updated();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user