Err fix
This commit is contained in:
@@ -85,6 +85,7 @@ void loop() {
|
|||||||
//send(msgVolts.set(v, 2));
|
//send(msgVolts.set(v, 2));
|
||||||
//Serial.println(F("Tm run")); Serial.println(millis() - t);
|
//Serial.println(F("Tm run")); Serial.println(millis() - t);
|
||||||
sendData(msgMillis, ++cRun * TIME_SLEEP / 60000);
|
sendData(msgMillis, ++cRun * TIME_SLEEP / 60000);
|
||||||
|
nRun = 0;
|
||||||
}
|
}
|
||||||
//send(msgMillis.set(cRun++));
|
//send(msgMillis.set(cRun++));
|
||||||
sleep((TIME_SLEEP / 4) - (millis() - t));
|
sleep((TIME_SLEEP / 4) - (millis() - t));
|
||||||
|
|||||||
Reference in New Issue
Block a user