refactor(usb_host): Update USB Host multiconfig public API

- previous usb_host_get_config_desc_free()
    - updated usb_host_free_config_desc()
This commit is contained in:
Peter Marcisovsky
2024-07-17 09:02:43 +02:00
parent 8611a66a0f
commit 597451afbe
3 changed files with 4 additions and 4 deletions
@@ -146,7 +146,7 @@ void multiconf_client_async_task(void *arg)
TEST_ASSERT_EQUAL_MEMORY_MESSAGE(config_desc_ref, multiconf_obj.config_desc_cached, sizeof(usb_config_desc_t), "Configuration descriptors do not match");
// Free the memory used to store the config descriptor
TEST_ASSERT_EQUAL(ESP_OK, usb_host_get_config_desc_free(multiconf_obj.config_desc_cached));
TEST_ASSERT_EQUAL(ESP_OK, usb_host_free_config_desc(multiconf_obj.config_desc_cached));
multiconf_obj.next_stage = TEST_STAGE_DEV_CLOSE;
skip_event_handling = true;
break;