mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 13:02:25 +08:00
Commander: always update parameters, not just if disarmed
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user