forked from Archive/PX4-Autopilot
Commander: always update parameters, not just if disarmed
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
e19c7ca18b
commit
bc9abf8c36
|
@ -1644,12 +1644,9 @@ void Commander::run()
|
|||
parameter_update_s update;
|
||||
_parameter_update_sub.copy(&update);
|
||||
|
||||
/* update parameters */
|
||||
if (!_arm_state_machine.isArmed()) {
|
||||
updateParameters();
|
||||
updateParameters();
|
||||
|
||||
_status_changed = true;
|
||||
}
|
||||
_status_changed = true;
|
||||
}
|
||||
|
||||
/* Update OA parameter */
|
||||
|
|
Loading…
Reference in New Issue