aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HID.cpp
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2014-04-20 23:08:55 +0200
committerCristian Maglie <c.maglie@bug.st>2014-04-20 23:08:55 +0200
commitb9f95980c7412900722397298a93d1143ad31032 (patch)
tree8e0797d40eee8b4eb594cef35a60ca806675b358 /cores/arduino/HID.cpp
parent15d74b2530806c9ebef1160b534d7924490b00f7 (diff)
Fixed other trivial warnings in AVR USB core.
See #1877
Diffstat (limited to 'cores/arduino/HID.cpp')
-rw-r--r--cores/arduino/HID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HID.cpp b/cores/arduino/HID.cpp
index 0a9ac09..a94538c 100644
--- a/cores/arduino/HID.cpp
+++ b/cores/arduino/HID.cpp
@@ -151,7 +151,7 @@ int WEAK HID_GetInterface(u8* interfaceNum)
return USB_SendControl(TRANSFER_PGM,&_hidInterface,sizeof(_hidInterface));
}
-int WEAK HID_GetDescriptor(int i)
+int WEAK HID_GetDescriptor(int /* i */)
{
return USB_SendControl(TRANSFER_PGM,_hidReportDescriptor,sizeof(_hidReportDescriptor));
}