From 3cf30dff259cb8d902880934631ef332782f9a12 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Wed, 1 Jul 2015 16:56:14 +0200 Subject: rename Setup typedef struct to USBSetup was really too common --- cores/arduino/PluggableUSB.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cores/arduino/PluggableUSB.h') 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(); -- cgit v1.2.3-18-g5258