mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(gpio): add esp_gpio_reserve check to gpio_config
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user