Don't clear ENS count in cumulative mode
This commit is contained in:
parent
56521fe9fb
commit
e3858eceef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user