Skip to content

Commit b04726c

Browse files
facchinmpennam
authored andcommitted
Fix CDC interrup descriptor wMaxPacketSize
1 parent 30276d5 commit b04726c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/dfu/STM32_USB_Device_Library/Class/DFU/Src/usbd_dfu.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ __ALIGN_BEGIN static uint8_t USBD_DFU_CfgDesc[USB_DFU_CONFIG_DESC_SIZ] __ALIGN_E
305305
0x83, // bEndpointAddress
306306
0x03, // bmAttributes: Interrupt
307307
8, // wMaxPacketSize:
308-
8,
308+
0,
309309
0x9, // bInterval: polling interval in frames of 1ms
310310

311311
//--------------------------------------------------------------------------

0 commit comments

Comments
 (0)