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 <j.fischer@phytec.de>
This commit is contained in:
parent
c9e96b3c19
commit
d4ba8fff66
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ int usb_dc_ep_read_continue(u8_t ep)
|
|||
/* If no more data in the buffer, start a new read transaction.
|
||||
* DataOutStageCallback will called on transaction complete.
|
||||
*/
|
||||
if (ep != EP0_OUT && !ep_state->read_count) {
|
||||
if (!ep_state->read_count) {
|
||||
usb_dc_ep_start_read(ep, usb_dc_stm32_state.ep_buf[EP_IDX(ep)],
|
||||
EP_MPS);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue