From 4cc1459e637f3bcce670fccd806c7071e26b0700 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Aug 2022 16:52:55 +1000 Subject: [PATCH] AP_HAL_ChibiOS: disable CanManager in hwdef.h for AP_Periph --- libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index bba02f8315..8d6ec23f37 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -2916,6 +2916,8 @@ def add_apperiph_defaults(f): #define AP_RANGEFINDER_HC_SR04_ENABLED 0 #define AP_RANGEFINDER_PWM_ENABLED 0 +// no CAN manager in AP_Periph: +#define HAL_CANMANAGER_ENABLED 0 ''') def add_bootloader_defaults(f):