Copter: flight_mode formatting changes

non-functional change
This commit is contained in:
Randy Mackay 2017-11-10 14:13:52 +09:00
parent 2e71a641c3
commit 6e9de7e609
1 changed files with 8 additions and 8 deletions

View File

@ -119,7 +119,7 @@ bool Copter::set_mode(control_mode_t mode, mode_reason_t reason)
bool ignore_checks = !motors->armed(); // allow switching to any mode if disarmed. We rely on the arming check to perform
if (! new_flightmode->init(ignore_checks)) {
if (!new_flightmode->init(ignore_checks)) {
gcs().send_text(MAV_SEVERITY_WARNING,"Flight mode change failed");
Log_Write_Error(ERROR_SUBSYSTEM_FLIGHT_MODE,mode);
return false;