diff --git a/src/senddata.cpp b/src/senddata.cpp index 53b5dc7f..1cc09503 100644 --- a/src/senddata.cpp +++ b/src/senddata.cpp @@ -154,7 +154,8 @@ void sendData() { payload.addSensor(sensor_read(1)); SendPayload(SENSOR1PORT, prio_normal); #if (COUNT_ENS) - cwa_clear(); + if (cfg.countermode != 1) + cwa_clear(); #endif break; #endif