mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 04:57:38 +00:00
feat(esp_timer): Re-enable tests on ESP32P4
esp_timer example test requires Light Sleep support.
This commit is contained in:
@@ -70,7 +70,7 @@ void app_main(void)
|
||||
int64_t t2 = esp_timer_get_time();
|
||||
ESP_LOGI(TAG, "Woke up from light sleep, time since boot: %lld us", t2);
|
||||
|
||||
assert(llabs((t2 - t1) - 500000) < 1000);
|
||||
assert(llabs((t2 - t1) - 500000) < 1200);
|
||||
|
||||
/* Let the timer run for a little bit more */
|
||||
usleep(2000000);
|
||||
|
Reference in New Issue
Block a user