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/USBAPI.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cores/arduino/USBAPI.h') 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); //================================================================================ //================================================================================ -- cgit v1.2.3-18-g5258