mirror of https://github.com/ArduPilot/ardupilot
Copter: flight_mode formatting changes
non-functional change
This commit is contained in:
parent
2e71a641c3
commit
6e9de7e609
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue