From e22a00680b035a63606b94454096ced0e9f6f780 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 7 Mar 2024 20:12:51 +1100 Subject: [PATCH] AP_Vehicle: correct define around SRV_Channels init call --- libraries/AP_Vehicle/AP_Vehicle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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