Copter: minor format fix

This commit is contained in:
Randy Mackay 2018-12-24 11:18:10 +09:00
parent 983356213a
commit a8bcd50fdd
2 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ bool Copter::should_disarm_on_failsafe() {
return true;
}
switch(control_mode) {
switch (control_mode) {
case STABILIZE:
case ACRO:
// if throttle is zero OR vehicle is landed disarm motors

View File

@ -93,7 +93,7 @@ void Copter::update_heli_control_dynamics(void)
// should be called soon after update_land_detector in main code
void Copter::heli_update_landing_swash()
{
switch(control_mode) {
switch (control_mode) {
case ACRO:
case STABILIZE:
case DRIFT: