Don't clear ENS count in cumulative mode

This commit is contained in:
Klaus K Wilting 2020-10-09 19:56:29 +02:00
parent 56521fe9fb
commit e3858eceef

View File

@ -154,6 +154,7 @@ void sendData() {
payload.addSensor(sensor_read(1));
SendPayload(SENSOR1PORT, prio_normal);
#if (COUNT_ENS)
if (cfg.countermode != 1)
cwa_clear();
#endif
break;