diff --git a/lighthub/main.cpp b/lighthub/main.cpp index 9ad197e..a68f857 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -122,6 +122,9 @@ volatile uint32_t timerLanCheckTime = 0; volatile uint32_t timerThermostatCheck = 0; volatile uint32_t timerSensorCheck =0; volatile uint32_t WiFiAwaitingTime =0; +volatile unsigned long timerCount=0; +volatile int16_t timerNumber=-1; +volatile int8_t timerHandlerBusy=0; aJsonObject *pollingItem = NULL; @@ -173,6 +176,7 @@ if (configLocked) } debugSerial<child; while (items && item) @@ -212,6 +216,7 @@ debugSerial<1) } lanStatus= loadConfigFromHttp(arg_cnt, args); - ethClient.stop(); //Refresh MQTT connect to get retained info + //ethClient.stop(); //Refresh MQTT connect to get retained info } void printBool(bool arg) { (arg) ? infoSerial<