X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fusb_hid.h;h=32cf71175492124b3c9b8bdeb07e4c7908837dc1;hb=41718ab2098bd5640da265c34f1ecb79a4123d39;hp=0253809d3fa85163c8a676625deb8a433cc4b5c1;hpb=7ea880172d48dd62a799e49e34b8fc1a4ecb82f5;p=bertos.git diff --git a/bertos/drv/usb_hid.h b/bertos/drv/usb_hid.h index 0253809d..32cf7117 100644 --- a/bertos/drv/usb_hid.h +++ b/bertos/drv/usb_hid.h @@ -38,6 +38,8 @@ #ifndef USB_HID_H #define USB_HID_H +#include + /* * USB HID interface subclass and protocol codes */ @@ -65,7 +67,7 @@ /* * USB HID descriptor */ -typedef struct usb_hid_descriptor +typedef struct usb_HidDesc { uint8_t bLength; uint8_t bDescriptorType; @@ -74,6 +76,6 @@ typedef struct usb_hid_descriptor uint8_t bNumDescriptors; uint8_t bDescriptorHidType; uint16_t wDescriptorLength; -} PACKED usb_hid_descriptor_t; +} PACKED usb_HidDesc; #endif /* USB_HID_H */