aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBCore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/USBCore.cpp')
-rw-r--r--cores/arduino/USBCore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp
index 9095d79..8237ccb 100644
--- a/cores/arduino/USBCore.cpp
+++ b/cores/arduino/USBCore.cpp
@@ -352,7 +352,7 @@ void InitEndpoints()
// Handle CLASS_INTERFACE requests
static
-bool ClassInterfaceRequest(Setup& setup)
+bool ClassInterfaceRequest(USBSetup& setup)
{
u8 i = setup.wIndex;
@@ -465,7 +465,7 @@ bool SendConfiguration(int maxlen)
u8 _cdcComposite = 0;
static
-bool SendDescriptor(Setup& setup)
+bool SendDescriptor(USBSetup& setup)
{
int ret;
u8 t = setup.wValueH;
@@ -517,7 +517,7 @@ ISR(USB_COM_vect)
if (!ReceivedSetupInt())
return;
- Setup setup;
+ USBSetup setup;
Recv((u8*)&setup,8);
ClearSetupInt();