From 66306459151463324ac2a982bb8c21d0f2a21d19 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Tue, 1 Dec 2020 04:06:33 -0800 Subject: [PATCH] AP_HAL: ap_periph should disable HAL_SUPPORT_RCOUT_SERIAL by default --- libraries/AP_HAL/board/chibios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/board/chibios.h b/libraries/AP_HAL/board/chibios.h index 16cd1960eb..0a938acfa3 100644 --- a/libraries/AP_HAL/board/chibios.h +++ b/libraries/AP_HAL/board/chibios.h @@ -105,7 +105,7 @@ // we support RC serial for BLHeli pass-thru #ifndef HAL_SUPPORT_RCOUT_SERIAL -#define HAL_SUPPORT_RCOUT_SERIAL 1 +#define HAL_SUPPORT_RCOUT_SERIAL !defined(HAL_BUILD_AP_PERIPH) #endif // by default assume first I2C bus is internal