refactor
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
#include "led.h"
|
||||
|
||||
#ifdef STEALTH
|
||||
const bool LED_STEALTH = true;
|
||||
#else
|
||||
const bool LED_STEALTH = false;
|
||||
#endif
|
||||
|
||||
CRGB leds[NUM_LEDS];
|
||||
|
||||
bool ledstate = false;
|
||||
@@ -56,7 +62,8 @@ void handleLed(void)
|
||||
{
|
||||
leds[0] = ledcolor;
|
||||
}
|
||||
FastLED.show();
|
||||
FastLED.show();
|
||||
|
||||
lastLedTime = timeNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user