From 089f3aa349bc436d00f636ef176d7c0037d6ed80 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Fri, 20 Nov 2020 21:24:04 -0800 Subject: [PATCH] AP_HAL: allow hwdef to define HAL_SUPPORT_RCOUT_SERIAL - must be disabled for AP_Periph --- libraries/AP_HAL/board/chibios.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL/board/chibios.h b/libraries/AP_HAL/board/chibios.h index cb545ee7bf..16cd1960eb 100644 --- a/libraries/AP_HAL/board/chibios.h +++ b/libraries/AP_HAL/board/chibios.h @@ -104,7 +104,9 @@ #endif // we support RC serial for BLHeli pass-thru +#ifndef HAL_SUPPORT_RCOUT_SERIAL #define HAL_SUPPORT_RCOUT_SERIAL 1 +#endif // by default assume first I2C bus is internal #ifndef HAL_I2C_INTERNAL_MASK