aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/PluggableUSB.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/PluggableUSB.h')
-rw-r--r--cores/arduino/PluggableUSB.h8
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;