Skip to content

Commit d4ba8ff

Browse files
jfischer-nocarlescufi
authored andcommitted
drivers: usb_dc_stm32: do not restrict out stage transfers to one MPS
Do not restrict control out stage transfers to one MPS. Signed-off-by: Johann Fischer <[email protected]>
1 parent c9e96b3 commit d4ba8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/device/usb_dc_stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ int usb_dc_ep_read_continue(u8_t ep)
807807
/* If no more data in the buffer, start a new read transaction.
808808
* DataOutStageCallback will called on transaction complete.
809809
*/
810-
if (ep != EP0_OUT && !ep_state->read_count) {
810+
if (!ep_state->read_count) {
811811
usb_dc_ep_start_read(ep, usb_dc_stm32_state.ep_buf[EP_IDX(ep)],
812812
EP_MPS);
813813
}

0 commit comments

Comments
 (0)