mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Fix format type
This commit is contained in:
parent
6632f66b2f
commit
6f78873114
@ -225,7 +225,7 @@ static void debugPrintTimestamp(int level, Print * _logOutput)
|
||||
char buffer[64];
|
||||
strftime(buffer, sizeof(buffer), "[%b %d %H:%M:%S.", timeinfo); // Literal String
|
||||
_logOutput->print(buffer);
|
||||
_logOutput->printf(PSTR("%03u]"), millis() % 1000);
|
||||
_logOutput->printf(PSTR("%03lu]"), millis() % 1000);
|
||||
} else {
|
||||
_logOutput->printf(PSTR("[%20.3f]"), (float)millis() / 1000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user