mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 18:30:36 +08:00
Fix style
This commit is contained in:
committed by
Matthias Grob
parent
71d6aa913d
commit
08e58a44e9
@@ -973,6 +973,7 @@ Commander::handle_command(const vehicle_command_s &cmd)
|
||||
} else {
|
||||
if (cmd_from_manual_stick) {
|
||||
arming_res = arm(arm_disarm_reason_t::rc_stick, !forced);
|
||||
|
||||
} else {
|
||||
arming_res = arm(arm_disarm_reason_t::command_internal, !forced);
|
||||
}
|
||||
@@ -985,6 +986,7 @@ Commander::handle_command(const vehicle_command_s &cmd)
|
||||
} else {
|
||||
if (cmd_from_manual_stick) {
|
||||
arming_res = disarm(arm_disarm_reason_t::rc_stick);
|
||||
|
||||
} else {
|
||||
arming_res = disarm(arm_disarm_reason_t::command_internal);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user