aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/HID/HID.cpp2
-rw-r--r--libraries/HID/HID.h7
2 files changed, 2 insertions, 7 deletions
diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp
index e75a6f5..f18e069 100644
--- a/libraries/HID/HID.cpp
+++ b/libraries/HID/HID.cpp
@@ -66,7 +66,7 @@ int HID_GetDescriptor(int8_t t)
}
}
-void HID_SendReport(u8 id, const void* data, int len)
+void HID_::SendReport(u8 id, const void* data, int len)
{
USB_Send(HID_TX, &id, 1);
USB_Send(HID_TX | TRANSFER_RELEASE,data,len);
diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h
index 5bd137c..d3a9982 100644
--- a/libraries/HID/HID.h
+++ b/libraries/HID/HID.h
@@ -47,14 +47,9 @@ class HID_
public:
HID_(void);
int begin(void);
+ void SendReport(uint8_t id, const void* data, int len);
};
-int8_t HID_Plug(void);
-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);
-
extern HID_ HID;
typedef struct