mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-26 20:23:41 +00:00
Reduce verbose debug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user