mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-01 14:06: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);
|
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);
|
handleClear(now);
|
||||||
}
|
}
|
||||||
} catch(const std::exception& e) {
|
} catch(const std::exception& e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user