mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
commander update super block parameters
This commit is contained in:
parent
f131409bce
commit
fa9f400dbd
@ -1531,6 +1531,8 @@ Commander::run()
|
||||
struct parameter_update_s param_changed;
|
||||
orb_copy(ORB_ID(parameter_update), param_changed_sub, ¶m_changed);
|
||||
|
||||
updateParams();
|
||||
|
||||
/* update parameters */
|
||||
if (!armed.armed) {
|
||||
if (param_get(_param_sys_type, &system_type) != OK) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user