Browse Source

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
apm_2208
Andrew Tridgell 3 years ago
parent
commit
12f348398a
  1. 6
      libraries/AP_Notify/AP_Notify.cpp

6
libraries/AP_Notify/AP_Notify.cpp

@ -112,7 +112,11 @@ AP_Notify *AP_Notify::_singleton; @@ -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

Loading…
Cancel
Save