diff --git a/ArduPlane/servos.cpp b/ArduPlane/servos.cpp index 33659319c5..65f6fdf0f3 100644 --- a/ArduPlane/servos.cpp +++ b/ArduPlane/servos.cpp @@ -911,7 +911,7 @@ void Plane::set_servos(void) } } - uint8_t override_pct; + float override_pct = SRV_Channels::get_output_scaled(SRV_Channel::k_throttle); if (g2.ice_control.throttle_override(override_pct)) { // the ICE controller wants to override the throttle for starting, idle, or redline SRV_Channels::set_output_scaled(SRV_Channel::k_throttle, override_pct);