mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/vtaskdelay_caused_etm_test_failure_v5.1' into 'release/v5.1'
fix(test_etm): fix vTaskDelay caused ci failure (v5.1) See merge request espressif/esp-idf!25945
This commit is contained in:
commit
6e1b968d0a
@ -115,7 +115,7 @@ TEST_CASE("esp_timer_etm_event", "[etm]")
|
||||
TEST_ESP_OK(esp_timer_start_periodic(periodic_timer, 500000));
|
||||
|
||||
// should see a 1Hz square wave on the GPIO
|
||||
vTaskDelay(pdMS_TO_TICKS(1200));
|
||||
esp_rom_delay_us(1200000);
|
||||
|
||||
// check the final GPIO level
|
||||
TEST_ASSERT_EQUAL(1, gpio_get_level(output_gpio));
|
||||
|
Loading…
Reference in New Issue
Block a user