newlib: Fix clock_getres() improves accuracy

Returns not rounded value of resolution for WITH_RTC and !WITH_FRC
This commit is contained in:
KonstantinKondrashov
2020-10-07 17:39:11 +08:00
parent 80f993bf31
commit 7ae7adf16a
4 changed files with 4 additions and 4 deletions

View File

@@ -539,6 +539,6 @@ int64_t IRAM_ATTR esp_system_get_time(void)
uint32_t IRAM_ATTR esp_system_get_time_resolution(void)
{
return 1;
return 1000;
}
#endif