diff --git a/libraries/AP_Vehicle/AP_Vehicle.cpp b/libraries/AP_Vehicle/AP_Vehicle.cpp index ff42ea97a1..7c5e789fd3 100644 --- a/libraries/AP_Vehicle/AP_Vehicle.cpp +++ b/libraries/AP_Vehicle/AP_Vehicle.cpp @@ -424,7 +424,8 @@ void AP_Vehicle::setup() #endif #endif // AP_AIRSPEED_ENABLED -#if !APM_BUILD_TYPE(APM_BUILD_Replay) + +#if AP_SRV_CHANNELS_ENABLED SRV_Channels::init(); #endif