From 691d9fb7f0e36d77cf8fbaadbe9f44255062bd43 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 28 Sep 2015 15:44:32 +0200 Subject: [HID] Changed 'u8' to 'uint8_t' in definitions --- libraries/HID/HID.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'libraries/HID/HID.h') 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 -- cgit v1.2.3-18-g5258