aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/USBCore.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp
index 16e4a05..5f70d86 100644
--- a/cores/arduino/USBCore.cpp
+++ b/cores/arduino/USBCore.cpp
@@ -446,11 +446,10 @@ int USB_RecvControl(void* d, int len)
int SendInterfaces()
{
- int total = 0;
u8 interfaces = 0;
#ifdef CDC_ENABLED
- total = CDC_GetInterface(&interfaces);
+ CDC_GetInterface(&interfaces);
#endif
#ifdef PLUGGABLE_USB_ENABLED