1
0
mirror of https://github.com/espressif/esp-idf synced 2025-03-22 07:29:08 -04:00
Darian Leung 62a3b50c94 refactor(usb): Remove use of usb_phy_action() from unit tests
Currently, USB Host unit tests that require a software triggered disconnection/
reconnection rely on the 'usb_phy_action()' function.

This commit replaces those calls with 'hcd_port_command()' or
'usb_host_lib_set_root_port_power()'.

Note: Also removed 'test_usb_common.h/c' as it is no longer necessary are the
function call replacements.
2024-10-09 11:16:17 +02:00
..