mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-14 07:49:01 +00:00
Reduce verbose debug
This commit is contained in:
parent
2db38835c5
commit
324459df97
@ -545,7 +545,7 @@ void loop() {
|
||||
debugW_P(PSTR("Used %dms to read HAN port (false)"), millis()-start);
|
||||
}
|
||||
}
|
||||
if(!ds.isHappy() && now - meterState.getLastUpdateMillis() > 1800000) {
|
||||
if(millis() - meterState.getLastUpdateMillis() > 1800000 && !ds.isHappy()) {
|
||||
handleClear(now);
|
||||
}
|
||||
} catch(const std::exception& e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user