This commit is contained in:
Klaus K Wilting 2018-04-17 23:14:01 +02:00
parent bf6a21f44f
commit e41aaa45a0
2 changed files with 4 additions and 6 deletions

View File

@ -11,10 +11,10 @@
; ---> SELECT TARGET PLATFORM HERE! <--- ; ---> SELECT TARGET PLATFORM HERE! <---
[platformio] [platformio]
;env_default = heltec_wifi_lora_32 env_default = heltec_wifi_lora_32
;env_default = ttgov1 ;env_default = ttgov1
;env_default = ttgov2 ;env_default = ttgov2
env_default = lopy ;env_default = lopy
;env_default = lopy4 ;env_default = lopy4
;env_default = lolin32lite_lora ;env_default = lolin32lite_lora
;env_default = lolin32_lora ;env_default = lolin32_lora

View File

@ -424,11 +424,9 @@ uint64_t uptime() {
#endif #endif
#ifdef HAS_RGB_LED #ifdef HAS_RGB_LED
if (LEDState) rgb_set_color(LEDState ? color : COLOR_NONE);
rgb_set_color(color); // LED on
else
rgb_set_color(COLOR_NONE); // LED off
#endif #endif
previousLEDState = LEDState; previousLEDState = LEDState;
LEDcount--; // decrement blink counter LEDcount--; // decrement blink counter
} }