diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-09-28 17:00:51 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-28 17:02:22 +0200 |
commit | 21391e0bdbe676ab766204eaa0eddd46e529c849 (patch) | |
tree | a47c5305e5363c4dff8d4dabdc82750dc877a64b /firmware/include/usb_hid.h | |
parent | 5a40e2fed18ed75c7b8d62f52cf4a7c660a8e026 (diff) |
convert from u_int*_t to uint*_t
Diffstat (limited to 'firmware/include/usb_hid.h')
-rw-r--r-- | firmware/include/usb_hid.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/include/usb_hid.h b/firmware/include/usb_hid.h index 49f5ab8..a1000c4 100644 --- a/firmware/include/usb_hid.h +++ b/firmware/include/usb_hid.h @@ -214,16 +214,16 @@ #define HID_FEATURE_REPORT 2 struct usb_hid_class_descriptor { - u_int8_t bDescriptorType; - u_int16_t wDescriptorLength; + uint8_t bDescriptorType; + uint16_t wDescriptorLength; } __attribute__ ((packed)); struct usb_hid_descriptor { - u_int8_t bLength; - u_int8_t bDescriptorType; - u_int16_t bcdHID; - u_int8_t bCountryCode; - u_int8_t bNumDescriptors; + uint8_t bLength; + uint8_t bDescriptorType; + uint16_t bcdHID; + uint8_t bCountryCode; + uint8_t bNumDescriptors; struct hid_class_descriptor desc[1]; } __attribute__ ((packed)); |