aboutsummaryrefslogtreecommitdiff
path: root/libraries/HID/HID.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-06-26 17:16:54 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-07-16 13:13:51 +0200
commit30ebf7f92483bb57076ba571dcd04b4e8bb94872 (patch)
treeba6fdf59f5024617e2f7e0f0418ab1a62589037d /libraries/HID/HID.h
parent3ee0fa126506c623bf45ddcfccce1bf2abd2e41e (diff)
fix HID descriptors bigger than 127 bytes
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 a75774f..fe8ee09 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -39,8 +39,8 @@ public:
};
int8_t HID_Plug(void);
-int8_t HID_GetInterface(u8* interfaceNum);
-int8_t HID_GetDescriptor(int8_t t);
+int HID_GetInterface(u8* interfaceNum);
+int HID_GetDescriptor(int8_t t);
bool HID_Setup(Setup& setup, u8 i);
void HID_SendReport(uint8_t id, const void* data, int len);