From 85012b003e35c10db278e7194168ea225f52e770 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 5 May 2023 19:58:07 +1000 Subject: [PATCH] hwdef: correct compilation for KakuteF4Mini we include KakuteF4 which also sets this define, so you end up with a redefinition error --- libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat index 368e986c19..9911b41e77 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF4Mini/hwdef.dat @@ -46,4 +46,5 @@ define HAL_PARACHUTE_ENABLED 0 define HAL_SPRAYER_ENABLED 0 define HAL_MOUNT_ENABLED 0 +undef DEFAULT_NTF_LED_TYPES define DEFAULT_NTF_LED_TYPES 257