mirror of https://github.com/arendst/Tasmota.git
Fix CSE7766 Sensor invalid energy load steps prevention
fixes PR #5793 solution which can async (load overflow) forever until device restart
This commit is contained in:
parent
9c0bd2a665
commit
0e518084d7
|
@ -189,6 +189,7 @@ void CseEverySecond(void)
|
|||
}
|
||||
else {
|
||||
AddLog_P(LOG_LEVEL_DEBUG, PSTR("CSE: Load overflow"));
|
||||
cf_pulses_last_time = CSE_PULSES_NOT_INITIALIZED;
|
||||
}
|
||||
EnergyUpdateToday();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue