mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 02:30:34 +08:00
commander state machine helper fix style and remove unused
This commit is contained in:
committed by
Lorenz Meier
parent
d0b188f585
commit
feda5caac2
@@ -3940,7 +3940,7 @@ void *commander_low_prio_loop(void *arg)
|
||||
switch (cmd.command) {
|
||||
|
||||
case vehicle_command_s::VEHICLE_CMD_PREFLIGHT_REBOOT_SHUTDOWN:
|
||||
if (is_safe(&status, &safety, &armed)) {
|
||||
if (is_safe(&safety, &armed)) {
|
||||
|
||||
if (((int)(cmd.param1)) == 1) {
|
||||
answer_command(cmd, vehicle_command_s::VEHICLE_CMD_RESULT_ACCEPTED, command_ack_pub, command_ack);
|
||||
|
||||
Reference in New Issue
Block a user