We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345c483 commit 6c4e632Copy full SHA for 6c4e632
components/logger/include/logger.hpp
@@ -425,7 +425,7 @@ rate limit. @note Only calls that have _rate_limited suffixed will be rate limit
425
#if defined(ESP_PLATFORM)
426
// use esp_log_timestamp to get the time in milliseconds
427
uint64_t time = esp_log_timestamp();
428
- uint64_t seconds = time / 1e3f;
+ uint64_t seconds = time / 1'000;
429
uint64_t milliseconds = (time % 1'000);
430
return fmt::format("{}.{:03}", seconds, milliseconds);
431
#else
0 commit comments