From 3d05d8c0dd00e12bc95910c6912ce86013af242a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 17 May 2023 10:32:36 +1000 Subject: [PATCH] AP_Notify: use chibios_hwdef to define NOTIFY_LED_OVERRIDE_DEFAULT --- 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 78262619d8..27711c61f9 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -130,11 +130,7 @@ AP_Notify *AP_Notify::_singleton; #endif #ifndef NOTIFY_LED_OVERRIDE_DEFAULT -#ifdef HAL_BUILD_AP_PERIPH - #define NOTIFY_LED_OVERRIDE_DEFAULT 1 // rgb_source_t::mavlink -#else - #define NOTIFY_LED_OVERRIDE_DEFAULT 0 // rgb_source_t::standard -#endif +#define NOTIFY_LED_OVERRIDE_DEFAULT 0 // rgb_source_t::standard #endif #ifndef NOTIFY_LED_LEN_DEFAULT