diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-30 14:51:11 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-02 11:59:22 +0200 |
commit | 7fee0f0a756fda618e399e6b1dce058b9e2b5fa1 (patch) | |
tree | 0af16734af0e1f1f3a056c1cb924daf7c421965a /cores/arduino/PluggableUSB.h | |
parent | 34a75d94163b385d20b37f5cffd2ffe241c6dd7d (diff) |
[PUSB] replaced u8 with uint8_t
Diffstat (limited to 'cores/arduino/PluggableUSB.h')
-rw-r--r-- | cores/arduino/PluggableUSB.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cores/arduino/PluggableUSB.h b/cores/arduino/PluggableUSB.h index 275a444..d4a1096 100644 --- a/cores/arduino/PluggableUSB.h +++ b/cores/arduino/PluggableUSB.h @@ -28,8 +28,8 @@ class PUSBListNode { public: PUSBListNode() { } - bool (*setup)(USBSetup& setup, u8 i); - int (*getInterface)(u8* interfaceNum); + bool (*setup)(USBSetup& setup, uint8_t i); + int (*getInterface)(uint8_t* interfaceNum); int (*getDescriptor)(int8_t t); int8_t numEndpoints; int8_t numInterfaces; @@ -51,9 +51,9 @@ public: class PluggableUSB_ { public: static bool plug(PUSBListNode *node); - static int getInterface(u8* interfaceNum); + static int getInterface(uint8_t* interfaceNum); static int getDescriptor(int8_t t); - static bool setup(USBSetup& setup, u8 i); + static bool setup(USBSetup& setup, uint8_t i); }; extern PluggableUSB_ PluggableUSB; |