diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-01 12:35:24 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-02 11:59:23 +0200 |
commit | bad9b58ce3e3770e12b9053c670b22c95aba8b45 (patch) | |
tree | ca6cb9d6eb6a268eb697b7d5e5598bc933b38933 /libraries/HID/HID.h | |
parent | 10512b3f9b2e30759d08af77960ab0ead539a055 (diff) |
[PUSB] Fixed checks on return values
Diffstat (limited to 'libraries/HID/HID.h')
-rw-r--r-- | libraries/HID/HID.h | 4 |
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; |