From 171cde53d864a96fb5006af9e978730be6ee6c3a Mon Sep 17 00:00:00 2001 From: lexa Date: Tue, 29 Jun 2021 18:28:23 +0300 Subject: [PATCH] ExtSens corr --- ExtSens/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExtSens/src/main.cpp b/ExtSens/src/main.cpp index 3ac83c1..dff4d73 100644 --- a/ExtSens/src/main.cpp +++ b/ExtSens/src/main.cpp @@ -78,7 +78,7 @@ void loop() { //v = sensorValue * 0.004659498; //batteryPcnt = ((v-3.0) * 100) / 1.2; //sendBatteryLevel(batteryPcnt); - if(nRun == 3){ + if(nRun++ == 3){ sendData(msgTemp, tempRM.getMedian(), 1); sendData(msgHum, humRM.getMedian(), 1); sendData(msgVolts, v, 2);