cleanups
This commit is contained in:
1 parent
bf6a21f44f
commit
e41aaa45a0
2 files changed
+4
-6
No files matched your search
+2
-2
@@ -11,10 +11,10 @@
|
||||
|
||||
; ---> SELECT TARGET PLATFORM HERE! <---
|
||||
[platformio]
|
||||
;env_default = heltec_wifi_lora_32
|
||||
env_default = heltec_wifi_lora_32
|
||||
;env_default = ttgov1
|
||||
;env_default = ttgov2
|
||||
env_default = lopy
|
||||
;env_default = lopy
|
||||
;env_default = lopy4
|
||||
;env_default = lolin32lite_lora
|
||||
;env_default = lolin32_lora
|
||||
|
||||
+2
-4
@@ -424,11 +424,9 @@ uint64_t uptime() {
|
||||
#endif
|
||||
|
||||
#ifdef HAS_RGB_LED
|
||||
if (LEDState)
|
||||
rgb_set_color(color); // LED on
|
||||
else
|
||||
rgb_set_color(COLOR_NONE); // LED off
|
||||
rgb_set_color(LEDState ? color : COLOR_NONE);
|
||||
#endif
|
||||
|
||||
previousLEDState = LEDState;
|
||||
LEDcount--; // decrement blink counter
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user