From 7c2ee8d53c67ad795a7793bedc3dea5acead5781 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 13 Aug 2024 19:07:22 +1000 Subject: [PATCH] AP_Notify: use DEFAULT_NTF_LED_TYPES for chibios boards default is the same as what ChibiOS sets --- libraries/AP_Notify/AP_Notify.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index abfb047711..240bb66034 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -89,11 +89,7 @@ AP_Notify *AP_Notify::_singleton; #endif #ifndef DEFAULT_NTF_LED_TYPES -#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS - #define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS) - -// Linux boards -#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX +#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX #if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO #define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS |\ Notify_LED_PCA9685LED_I2C_External)