aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2018-07-01 18:11:01 +0200
committerKévin Redon <kredon@sysmocom.de>2018-07-01 18:33:28 +0200
commit0c9079f1aea0dd849c9337aa61b5b9eb0b1a3667 (patch)
tree39452cfb91de67990959f1c39e31830c30e83037 /firmware/atmel_softpack_libraries/usb/device/dfu/dfu_desc.c
parentcb700ef087a4ba822c298ac11a238b5b9a5f5716 (diff)
USB: add central file to define USB IDs, classes, and endpoints
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.c2
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,