From 6a89aef53afb278fe53fb59051eb3544540df45e Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Wed, 25 Apr 2018 12:24:01 +0200 Subject: [PATCH] bugfixing LED routine (not yet done) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 86ac19b2..fe67a55e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,7 +50,7 @@ uint8_t channel = 0; // wifi channel rotation counter global for char display_lora[16], display_lmic[16], display_mem[16]; // display buffers enum states LEDState = LED_OFF, previousLEDState = LED_OFF; // LED state global for state machine bool joinstate = false; // LoRa network joined? global flag -bool blinkdone = false; // flag for state machine for blinking LED once +bool blinkdone = true; // flag for state machine for blinking LED once const uint32_t heapmem = ESP.getFreeHeap(); // free heap memory after start (:= 100%) std::set macs; // associative container holds total of unique MAC adress hashes (Wifi + BLE)