lld: add mask with epdir
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
parent
4415d960c3
commit
b7167bf2af
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ static void stm32f4_usbh_port_channel_setup(
|
|||
OTG_HCCHAR_MCNT_1 |
|
||||
(OTG_HCCHAR_EPTYP_MASK & (eptyp)) |
|
||||
(speed) |
|
||||
(epdir) |
|
||||
(OTG_HCCHAR_EPDIR_MASK & epdir) |
|
||||
(OTG_HCCHAR_EPNUM_MASK & (epnum << 11)) |
|
||||
(OTG_HCCHAR_MPSIZ_MASK & max_packet_size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue