mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-09-12 09:36:59 +00:00
[P159] Small improvements
This commit is contained in:
@@ -137,7 +137,7 @@ bool P159_data_struct::processSensor() {
|
||||
}
|
||||
|
||||
if (P159_state_e::Running != sState) { // FIXME Remove log
|
||||
addLog(LOG_LEVEL_INFO, strformat(F("LD2410: Starting state: %d duration: %u msec."), static_cast<uint8_t>(sState), millis() - iStart));
|
||||
addLog(LOG_LEVEL_INFO, strformat(F("LD2410: Starting state: %d duration: %d msec."), static_cast<uint8_t>(sState), timePassedSince(iStart)));
|
||||
}
|
||||
} // isValid()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user