Merge branch 'fix/log-unsigned-msec-format' into 'master'

fix(log): use unsigned format specifier for esp_log_system_timestamp msec

See merge request espressif/esp-idf!50989
This commit is contained in:
Konstantin Kondrashov
2026-07-21 18:32:49 +03:00
+1 -1
View File
@@ -52,7 +52,7 @@ char *esp_log_system_timestamp(void)
_lock_acquire(&bufferLock);
unsigned msec = tv.tv_usec / 1000;
snprintf(buffer, sizeof(buffer),
"%02d:%02d:%02d.%03d",
"%02d:%02d:%02d.%03u",
timeinfo.tm_hour,
timeinfo.tm_min,
timeinfo.tm_sec,