Changed to use stdint types.

This commit is contained in:
Piotr Esden-Tempski
2013-06-12 19:11:22 -07:00
parent 7df63fcae0
commit 34de1e776e
127 changed files with 1886 additions and 1895 deletions

View File

@@ -83,17 +83,17 @@ enum dfu_state {
#define DFU_FUNCTIONAL 0x21
struct usb_dfu_descriptor {
u8 bLength;
u8 bDescriptorType;
u8 bmAttributes;
uint8_t bLength;
uint8_t bDescriptorType;
uint8_t bmAttributes;
#define USB_DFU_CAN_DOWNLOAD 0x01
#define USB_DFU_CAN_UPLOAD 0x02
#define USB_DFU_MANIFEST_TOLERANT 0x04
#define USB_DFU_WILL_DETACH 0x08
u16 wDetachTimeout;
u16 wTransferSize;
u16 bcdDFUVersion;
uint16_t wDetachTimeout;
uint16_t wTransferSize;
uint16_t bcdDFUVersion;
} __packed;
#endif