minor code cleanup, not changing functionality

This commit is contained in:
Lorenz Meier
2012-11-28 23:00:43 +01:00
parent 9fa628c668
commit 00b79764d7
2 changed files with 5 additions and 12 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ uint8_t update_state_machine_mode_request(int status_pub, struct vehicle_status_
publish_armed_status(current_status);
printf("[commander] Enabling HIL, locking down all actuators for safety.\n\t(Arming the system will not activate them while in HIL mode)\n");
} else if (current_status->state_machine != SYSTEM_STATE_STANDBY) {
mavlink_log_critical(mavlink_fd, "[commander] REJECTING switch to HIL, not in standby.")
mavlink_log_critical(mavlink_fd, "[commander] REJECTING HIL, not in standby.")
}
/* NEVER actually switch off HIL without reboot */