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