components/log: fix timestamp calculation
This commit is contained in:
parent
26bf85bad6
commit
1188bdfc68
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ uint32_t IRAM_ATTR esp_log_timestamp()
|
||||||
if (base == 0) {
|
if (base == 0) {
|
||||||
base = esp_log_early_timestamp();
|
base = esp_log_early_timestamp();
|
||||||
}
|
}
|
||||||
return base + xTaskGetTickCount() * configTICK_RATE_HZ;
|
return base + xTaskGetTickCount() * (1000 / configTICK_RATE_HZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue