From 0c3a1b9c0405450ac2e709febc2afac9ba0bc6b9 Mon Sep 17 00:00:00 2001 From: lexa Date: Tue, 29 Jun 2021 20:51:43 +0300 Subject: [PATCH] Err fix --- ExtSens/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ExtSens/src/main.cpp b/ExtSens/src/main.cpp index dff4d73..2aff172 100644 --- a/ExtSens/src/main.cpp +++ b/ExtSens/src/main.cpp @@ -85,6 +85,7 @@ void loop() { //send(msgVolts.set(v, 2)); //Serial.println(F("Tm run")); Serial.println(millis() - t); sendData(msgMillis, ++cRun * TIME_SLEEP / 60000); + nRun = 0; } //send(msgMillis.set(cRun++)); sleep((TIME_SLEEP / 4) - (millis() - t));