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