fix(gpio): add esp_gpio_reserve check to gpio_config

This commit is contained in:
Song Ruo Jing
2026-02-26 16:26:58 +08:00
parent e5ff2747aa
commit 476004e4b8
28 changed files with 278 additions and 44 deletions
@@ -187,6 +187,7 @@ static void test_rmt_rx_cache_safe(size_t mem_block_symbols, bool with_dma, rmt_
TEST_ESP_OK(rmt_disable(rx_channel));
printf("delete channels and encoder\r\n");
TEST_ESP_OK(rmt_del_channel(rx_channel));
TEST_ESP_OK(gpio_reset_pin(TEST_RMT_GPIO_NUM_A));
free(remote_codes);
}
@@ -298,6 +298,7 @@ static void test_rmt_partial_receive(size_t mem_block_symbols, int test_symbols_
TEST_ESP_OK(rmt_disable(rx_channel));
printf("delete channels and encoder\r\n");
TEST_ESP_OK(rmt_del_channel(rx_channel));
TEST_ESP_OK(gpio_reset_pin(TEST_RMT_GPIO_NUM_A));
free(receive_user_buf);
}