mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-12 14:05:58 +00:00
Centralize ExternalNotificationModule LED handling
This PR attemtps to take a small step towards addressing issue 5194 by de-duplicating LED handling code within ExternalNotificationModule. I also refactored the color state code around an alpha channel approach.
This commit is contained in:
parent
426e804324
commit
c566a9f465
@ -256,7 +256,8 @@ void ExternalNotificationModule::stopNow()
|
||||
|
||||
void ExternalNotificationModule::setLEDs(const RGB& rgb)
|
||||
{
|
||||
#ifdef HAS_LEDS
|
||||
|
||||
#ifdef HAS_LED
|
||||
// LOG_DEBUG("setLEDs red=%d, green=%d, blue=%d", rgb.red, rgb.green, rgb.blue);
|
||||
|
||||
#ifdef HAS_NCP5623
|
||||
|
Loading…
Reference in New Issue
Block a user