diff --git a/ArduCopter/tuning.cpp b/ArduCopter/tuning.cpp index d9e1612966a..f99c9c16b09 100644 --- a/ArduCopter/tuning.cpp +++ b/ArduCopter/tuning.cpp @@ -180,14 +180,14 @@ void Copter::tuning() break; #endif - case TUNING_RATE_YAW_FILT: - attitude_control->get_rate_yaw_pid().filt_E_hz(tuning_value); - break; + case TUNING_RATE_YAW_FILT: + attitude_control->get_rate_yaw_pid().filt_E_hz(tuning_value); + break; - case TUNING_SYSTEM_ID_MAGNITUDE: + case TUNING_SYSTEM_ID_MAGNITUDE: #if MODE_SYSTEMID_ENABLED == ENABLED - copter.mode_systemid.set_magnitude(tuning_value); + copter.mode_systemid.set_magnitude(tuning_value); #endif - break; + break; } }