diff options
author | Kévin Redon <kredon@sysmocom.de> | 2018-07-01 18:11:01 +0200 |
---|---|---|
committer | King Kévin <kingkevin@cuvoodoo.info> | 2018-07-04 17:10:06 +0200 |
commit | a1012b170adc8630e3b6d1dd8edd277176d7b979 (patch) | |
tree | dc1319aa5e95da68097055ea235d5ac68d6b592d /firmware/atmel_softpack_libraries | |
parent | 42bd02641661f6b5d8a80be4a4f2732bca68aa39 (diff) |
USB: add central file to define USB IDs, classes, and endpoints
Change-Id: Iba81f32a92c68a973e8e7adbc4c2a1064ba5290f
Diffstat (limited to 'firmware/atmel_softpack_libraries')
-rw-r--r-- | firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c index f6d484c..75fded1 100644 --- a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c +++ b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c @@ -28,7 +28,7 @@ static const USBDeviceDescriptor fsDevice = { .bDeviceClass = 0, .bDeviceSubClass = 0, .bDeviceProtocol = 0, - .bMaxPacketSize0 = BOARD_USB_ENDPOINTS_MAXPACKETSIZE(0), + .bMaxPacketSize0 = USBEndpointDescriptor_MAXCTRLSIZE_FS, .idVendor = BOARD_USB_VENDOR_ID, .idProduct = BOARD_DFU_USB_PRODUCT_ID, .bcdDevice = BOARD_USB_RELEASE, |