mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
ccomp_timer: fix broken unit test
This commit is contained in:
parent
f9d5b67b81
commit
e673817530
@ -214,15 +214,15 @@ TEST_CASE("Can allocate IRAM int only with an IRAM handler", "[esp32]")
|
||||
{
|
||||
}
|
||||
intr_handle_t ih;
|
||||
esp_err_t err = esp_intr_alloc(ETS_INTERNAL_PROFILING_INTR_SOURCE,
|
||||
esp_err_t err = esp_intr_alloc(ETS_INTERNAL_SW0_INTR_SOURCE,
|
||||
ESP_INTR_FLAG_IRAM, &dummy, NULL, &ih);
|
||||
TEST_ASSERT_EQUAL_INT(ESP_ERR_INVALID_ARG, err);
|
||||
err = esp_intr_alloc(ETS_INTERNAL_PROFILING_INTR_SOURCE,
|
||||
err = esp_intr_alloc(ETS_INTERNAL_SW0_INTR_SOURCE,
|
||||
ESP_INTR_FLAG_IRAM, &dummy_iram, NULL, &ih);
|
||||
TEST_ESP_OK(err);
|
||||
err = esp_intr_free(ih);
|
||||
TEST_ESP_OK(err);
|
||||
err = esp_intr_alloc(ETS_INTERNAL_PROFILING_INTR_SOURCE,
|
||||
err = esp_intr_alloc(ETS_INTERNAL_SW0_INTR_SOURCE,
|
||||
ESP_INTR_FLAG_IRAM, &dummy_rtc, NULL, &ih);
|
||||
TEST_ESP_OK(err);
|
||||
err = esp_intr_free(ih);
|
||||
|
Loading…
x
Reference in New Issue
Block a user