Skip to content

Commit 1cc319a

Browse files
authored
Merge pull request #2680 from Ryzee119/patch-1
2 parents 007a8bd + d52d659 commit 1cc319a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/usbh.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ bool tuh_interface_set(uint8_t daddr, uint8_t itf_num, uint8_t itf_alt,
11131113
TU_LOG_USBH("Set Interface %u Alternate %u\r\n", itf_num, itf_alt);
11141114
tusb_control_request_t const request = {
11151115
.bmRequestType_bit = {
1116-
.recipient = TUSB_REQ_RCPT_DEVICE,
1116+
.recipient = TUSB_REQ_RCPT_INTERFACE,
11171117
.type = TUSB_REQ_TYPE_STANDARD,
11181118
.direction = TUSB_DIR_OUT
11191119
},

0 commit comments

Comments
 (0)