projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove path from toolchain when creating presets (use the system one).
[bertos.git]
/
bertos
/
drv
/
usb_hid.h
diff --git
a/bertos/drv/usb_hid.h
b/bertos/drv/usb_hid.h
index 0253809d3fa85163c8a676625deb8a433cc4b5c1..32cf71175492124b3c9b8bdeb07e4c7908837dc1 100644
(file)
--- a/
bertos/drv/usb_hid.h
+++ b/
bertos/drv/usb_hid.h
@@
-38,6
+38,8
@@
#ifndef USB_HID_H
#define USB_HID_H
#ifndef USB_HID_H
#define USB_HID_H
+#include <cpu/types.h>
+
/*
* USB HID interface subclass and protocol codes
*/
/*
* USB HID interface subclass and protocol codes
*/
@@
-65,7
+67,7
@@
/*
* USB HID descriptor
*/
/*
* USB HID descriptor
*/
-typedef struct usb_
hid_descriptor
+typedef struct usb_
HidDesc
{
uint8_t bLength;
uint8_t bDescriptorType;
{
uint8_t bLength;
uint8_t bDescriptorType;
@@
-74,6
+76,6
@@
typedef struct usb_hid_descriptor
uint8_t bNumDescriptors;
uint8_t bDescriptorHidType;
uint16_t wDescriptorLength;
uint8_t bNumDescriptors;
uint8_t bDescriptorHidType;
uint16_t wDescriptorLength;
-} PACKED usb_
hid_descriptor_t
;
+} PACKED usb_
HidDesc
;
#endif /* USB_HID_H */
#endif /* USB_HID_H */