diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2015-07-01 16:56:14 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-07-16 13:13:52 +0200 |
commit | 3cf30dff259cb8d902880934631ef332782f9a12 (patch) | |
tree | 103fc9bfe1c7ae550535d4592063a92621d31d3a /cores/arduino/PluggableUSB.h | |
parent | 3d0331b8f6980633789f543947d36a9156455670 (diff) |
rename Setup typedef struct to USBSetup
was really too common
Diffstat (limited to 'cores/arduino/PluggableUSB.h')
-rw-r--r-- | cores/arduino/PluggableUSB.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/PluggableUSB.h b/cores/arduino/PluggableUSB.h index b9a27c1..647980b 100644 --- a/cores/arduino/PluggableUSB.h +++ b/cores/arduino/PluggableUSB.h @@ -27,7 +27,7 @@ typedef struct { - bool (*setup)(Setup& setup, u8 i); + bool (*setup)(USBSetup& setup, u8 i); int (*getInterface)(u8* interfaceNum); int (*getDescriptor)(int8_t t); int8_t numEndpoints; @@ -54,7 +54,7 @@ int PUSB_GetInterface(u8* interfaceNum); int PUSB_GetDescriptor(int8_t t); -bool PUSB_Setup(Setup& setup, u8 i); +bool PUSB_Setup(USBSetup& setup, u8 i); void PUSB_Begin(); |