From 0c7a16b03dc70039452c7124cb4d9821aef50db9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 17 May 2023 10:32:36 +1000 Subject: [PATCH] AP_HAL_ChibiOS: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT --- libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index 59fd1c8204..08f3d9a119 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -3255,6 +3255,10 @@ INCLUDE common.ld #define AP_FILESYSTEM_ROMFS_ENABLED 0 #endif +#ifndef NOTIFY_LED_OVERRIDE_DEFAULT +#define NOTIFY_LED_OVERRIDE_DEFAULT 1 // rgb_source_t::mavlink +#endif + // end AP_Periph defaults ''')