mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 12:53:29 +00:00
newlib: Fix clock_getres() improves accuracy
Returns not rounded value of resolution for WITH_RTC and !WITH_FRC
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user