diff options
author | Kévin Redon <kredon@sysmocom.de> | 2018-07-01 18:11:01 +0200 |
---|---|---|
committer | Kévin Redon <kredon@sysmocom.de> | 2018-07-01 18:33:28 +0200 |
commit | 0c9079f1aea0dd849c9337aa61b5b9eb0b1a3667 (patch) | |
tree | 39452cfb91de67990959f1c39e31830c30e83037 /firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c | |
parent | cb700ef087a4ba822c298ac11a238b5b9a5f5716 (diff) |
USB: add central file to define USB IDs, classes, and endpoints
Change-Id: Iba81f32a92c68a973e8e7adbc4c2a1064ba5290f
Diffstat (limited to 'firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c')
-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, |