Skip to content

Commit

Permalink
Fix wTotalLength to 32 bytes
Browse files Browse the repository at this point in the history
Config + Interface + 2xEndpoint
  • Loading branch information
dominicgs committed Sep 17, 2015
1 parent 1df8167 commit b2a10d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/chipcon_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ __code u8 USBDESCBEGIN [] =
// Configuration descriptor
9, // bLength
USB_DESC_CONFIG, // bDescriptorType
LE_WORD(33), // overall configuration length, including Config, Interface, Endpoints
LE_WORD(32), // overall configuration length, including Config, Interface, Endpoints
0x01, // NumInterfaces
0x01, // bConfigurationValue - should be nonzero
0x00, // iConfiguration
Expand Down

0 comments on commit b2a10d8

Please sign in to comment.