diff --git a/APMrover2/Steering.cpp b/APMrover2/Steering.cpp index 2f1e16a122..018e53ca00 100644 --- a/APMrover2/Steering.cpp +++ b/APMrover2/Steering.cpp @@ -12,7 +12,7 @@ void Rover::throttle_slew_limit(int16_t last_throttle) { if (temp < 1) { temp = 1; } - channel_throttle->set_radio_out (constrain_int16(channel_throttle->get_radio_out(), last_throttle - temp, last_throttle + temp)); + channel_throttle->set_radio_out(constrain_int16(channel_throttle->get_radio_out(), last_throttle - temp, last_throttle + temp)); } } @@ -314,12 +314,12 @@ void Rover::set_servos(void) { } if (!arming.is_armed()) { - //Some ESCs get noisy (beep error msgs) if PWM == 0. - //This little segment aims to avoid this. + // Some ESCs get noisy (beep error msgs) if PWM == 0. + // This little segment aims to avoid this. switch (arming.arming_required()) { case AP_Arming::NO: - //keep existing behavior: do nothing to radio_out - //(don't disarm throttle channel even if AP_Arming class is) + // keep existing behavior: do nothing to radio_out + // (don't disarm throttle channel even if AP_Arming class is) break; case AP_Arming::YES_ZERO_PWM: