diff --git a/libraries/AP_IOMCU/AP_IOMCU.cpp b/libraries/AP_IOMCU/AP_IOMCU.cpp index fd8015dee2..8cfca628e3 100644 --- a/libraries/AP_IOMCU/AP_IOMCU.cpp +++ b/libraries/AP_IOMCU/AP_IOMCU.cpp @@ -958,7 +958,7 @@ bool AP_IOMCU::setup_mixing(RCMapper *rcmap, int8_t override_chan, MIX_UPDATE(mixing.rc_reversed[i], c->get_reverse()); // cope with reversible throttle - if (i == 2 && c->get_type() == RC_Channel::RC_CHANNEL_TYPE_ANGLE) { + if (i == 2 && c->get_type() == RC_Channel::ControlType::ANGLE) { MIX_UPDATE(mixing.throttle_is_angle, 1); } else { MIX_UPDATE(mixing.throttle_is_angle, 0);