Skip to content

Commit

Permalink
Merge branch 'fix/vtaskdelay_caused_etm_test_failure' into 'master'
Browse files Browse the repository at this point in the history
fix(test_etm): fix vTaskDelay caused ci failure

Closes IDFCI-1666

See merge request espressif/esp-idf!25910
  • Loading branch information
suda-morris committed Sep 12, 2023
2 parents 38bf2a5 + 2a340c5 commit c3bd8ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c3bd8ab

Please sign in to comment.