Skip to content

Commit f238d75

Browse files
committed
refactor(ext_port): Remove the error verification, as error will be handled in ext hub driver
1 parent 19ce9ed commit f238d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/usb/ext_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static void handle_port_state(ext_port_t *ext_port)
717717
switch (curr_state) {
718718
case USB_PORT_STATE_NOT_CONFIGURED:
719719
new_state = USB_PORT_STATE_POWERED_OFF;
720-
ESP_ERROR_CHECK(port_request_status(ext_port));
720+
port_request_status(ext_port);
721721
need_handling = true;
722722
break;
723723
case USB_PORT_STATE_POWERED_OFF:

0 commit comments

Comments
 (0)