ArduPlane : case label indentation

This commit is contained in:
RuffaloVM 2022-03-04 18:43:50 +09:00 committed by Tom Pittenger
parent ea23c1ef09
commit d8085f71af
2 changed files with 10 additions and 10 deletions

View File

@ -318,10 +318,10 @@ bool RC_Channel_Plane::do_aux_function(const aux_func_t ch_option, const AuxSwit
break;
#endif
case AUX_FUNC::ARSPD_CALIBRATE:
case AUX_FUNC::ARSPD_CALIBRATE:
#if AP_AIRSPEED_AUTOCAL_ENABLE
switch (ch_flag) {
case AuxSwitchPos::HIGH:
switch (ch_flag) {
case AuxSwitchPos::HIGH:
plane.airspeed.set_calibration_enabled(true);
break;
case AuxSwitchPos::MIDDLE:
@ -333,9 +333,9 @@ case AUX_FUNC::ARSPD_CALIBRATE:
#endif
break;
case AUX_FUNC::LANDING_FLARE:
do_aux_function_flare(ch_flag);
break;
case AUX_FUNC::LANDING_FLARE:
do_aux_function_flare(ch_flag);
break;
case AUX_FUNC::PARACHUTE_RELEASE:
#if PARACHUTE == ENABLED

View File

@ -90,16 +90,16 @@ bool Plane::allow_reverse_thrust(void) const
case Mode::Number::TAKEOFF:
allow = false;
break;
case Mode::Number::FLY_BY_WIRE_A:
case Mode::Number::FLY_BY_WIRE_A:
allow |= (g.use_reverse_thrust & USE_REVERSE_THRUST_FBWA);
break;
case Mode::Number::ACRO:
case Mode::Number::ACRO:
allow |= (g.use_reverse_thrust & USE_REVERSE_THRUST_ACRO);
break;
case Mode::Number::STABILIZE:
case Mode::Number::STABILIZE:
allow |= (g.use_reverse_thrust & USE_REVERSE_THRUST_STABILIZE);
break;
case Mode::Number::THERMAL:
case Mode::Number::THERMAL:
allow |= (g.use_reverse_thrust & USE_REVERSE_THRUST_THERMAL);
break;
default: