feat(esp_timer): Re-enable tests on ESP32P4

esp_timer example test requires Light Sleep support.
This commit is contained in:
Konstantin Kondrashov
2024-01-30 13:39:23 +02:00
parent d92cd1b7ec
commit 2b909f99d5
8 changed files with 13 additions and 25 deletions

View File

@@ -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);