forked from espressif/esp-idf
refactor(ext_port): Remove the error verification, as error will be handled in ext hub driver
This commit is contained in:
@ -717,7 +717,7 @@ static void handle_port_state(ext_port_t *ext_port)
|
|||||||
switch (curr_state) {
|
switch (curr_state) {
|
||||||
case USB_PORT_STATE_NOT_CONFIGURED:
|
case USB_PORT_STATE_NOT_CONFIGURED:
|
||||||
new_state = USB_PORT_STATE_POWERED_OFF;
|
new_state = USB_PORT_STATE_POWERED_OFF;
|
||||||
ESP_ERROR_CHECK(port_request_status(ext_port));
|
port_request_status(ext_port);
|
||||||
need_handling = true;
|
need_handling = true;
|
||||||
break;
|
break;
|
||||||
case USB_PORT_STATE_POWERED_OFF:
|
case USB_PORT_STATE_POWERED_OFF:
|
||||||
|
Reference in New Issue
Block a user