Revert "AP_Notify: fixed DroneCAN LEDs on AP_Periph"

This reverts commit 1858969697.

This was an incorrect change that actually broke LEDs on CAN GPS modules
This commit is contained in:
Andrew Tridgell 2022-04-27 13:50:53 +10:00
parent e00608d922
commit 12f348398a
1 changed files with 5 additions and 1 deletions

View File

@ -112,7 +112,11 @@ AP_Notify *AP_Notify::_singleton;
#endif
#ifndef NOTIFY_LED_OVERRIDE_DEFAULT
#define NOTIFY_LED_OVERRIDE_DEFAULT 0 // rgb_source_t::standard
#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
#endif
#ifndef NOTIFY_LED_LEN_DEFAULT