aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBAPI.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-07-01 16:56:14 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:13:52 +0200
commit3cf30dff259cb8d902880934631ef332782f9a12 (patch)
tree103fc9bfe1c7ae550535d4592063a92621d31d3a /cores/arduino/USBAPI.h
parent3d0331b8f6980633789f543947d36a9156455670 (diff)
rename Setup typedef struct to USBSetup
was really too common
Diffstat (limited to 'cores/arduino/USBAPI.h')
-rw-r--r--cores/arduino/USBAPI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cores/arduino/USBAPI.h b/cores/arduino/USBAPI.h
index 251e4b9..4abd961 100644
--- a/cores/arduino/USBAPI.h
+++ b/cores/arduino/USBAPI.h
@@ -118,7 +118,7 @@ typedef struct
uint8_t wValueH;
uint16_t wIndex;
uint16_t wLength;
-} Setup;
+} USBSetup;
//================================================================================
//================================================================================
@@ -126,7 +126,7 @@ typedef struct
int MSC_GetInterface(uint8_t* interfaceNum);
int MSC_GetDescriptor(int i);
-bool MSC_Setup(Setup& setup);
+bool MSC_Setup(USBSetup& setup);
bool MSC_Data(uint8_t rx,uint8_t tx);
//================================================================================
@@ -135,7 +135,7 @@ bool MSC_Data(uint8_t rx,uint8_t tx);
int CDC_GetInterface(uint8_t* interfaceNum);
int CDC_GetDescriptor(int i);
-bool CDC_Setup(Setup& setup);
+bool CDC_Setup(USBSetup& setup);
//================================================================================
//================================================================================