diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-28 15:44:32 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-28 17:05:35 +0200 |
commit | 691d9fb7f0e36d77cf8fbaadbe9f44255062bd43 (patch) | |
tree | cfabb787ac537da4dfad7f71133996dcd567c9ec /libraries/HID/HID.h | |
parent | b53611a0d1b539b34f791febdd8a22bd066df3e7 (diff) |
[HID] Changed 'u8' to 'uint8_t' in definitions
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r-- | libraries/HID/HID.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h index f4ca7ae..47ac3b9 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -64,22 +64,22 @@ public: typedef struct { - u8 len; // 9 - u8 dtype; // 0x21 - u8 addr; - u8 versionL; // 0x101 - u8 versionH; // 0x101 - u8 country; - u8 desctype; // 0x22 report - u8 descLenL; - u8 descLenH; + uint8_t len; // 9 + uint8_t dtype; // 0x21 + uint8_t addr; + uint8_t versionL; // 0x101 + uint8_t versionH; // 0x101 + uint8_t country; + uint8_t desctype; // 0x22 report + uint8_t descLenL; + uint8_t descLenH; } HIDDescDescriptor; typedef struct { - InterfaceDescriptor hid; - HIDDescDescriptor desc; - EndpointDescriptor in; + InterfaceDescriptor hid; + HIDDescDescriptor desc; + EndpointDescriptor in; } HIDDescriptor; #define HID_TX HID_ENDPOINT_INT |