aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-10-01 12:35:24 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-02 11:59:23 +0200
commitbad9b58ce3e3770e12b9053c670b22c95aba8b45 (patch)
treeca6cb9d6eb6a268eb697b7d5e5598bc933b38933 /libraries/HID/HID.h
parent10512b3f9b2e30759d08af77960ab0ead539a055 (diff)
[PUSB] Fixed checks on return values
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r--libraries/HID/HID.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index f951229..ed08cf0 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -83,8 +83,8 @@ public:
protected:
// Implementation of the PUSBListNode
int getInterface(uint8_t* interfaceNum);
- int getDescriptor(int8_t t);
- bool setup(USBSetup& setup, uint8_t i);
+ int getDescriptor(int8_t type);
+ bool setup(USBSetup& setup, uint8_t interfaceNum);
private:
HIDDescriptor hidInterface;