summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2020-01-14 16:30:29 -0800
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commite41ab50016345f7813d250772457a1463e0cd973 (patch)
tree229011a7ba2d273643bf6245241f642b7ba3bda0 /tmk_core/protocol
parentd3f23ecfbcd2a69714422ab68f346e51fcc2a6de (diff)
Start moving code out of webusb and to Oryx feature
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/chibios/usb_main.c1
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index 57ac7ce0e0..9f4adbca72 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/tmk_core/protocol/chibios/usb_main.c
@@ -880,7 +880,6 @@ void webusb_send(uint8_t *data, uint8_t length) {
}
}
-__attribute__((weak)) void webusb_receive_kb(uint8_t *data, uint8_t length) {
// Users should #include "raw_hid.h" in their own code
// and implement this function there. Leave this as weak linkage
// so users can opt to not handle data coming in.
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index c107e7103a..8748ea63bf 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -288,8 +288,6 @@ void webusb_send(uint8_t *data, uint8_t length) {
Endpoint_ClearIN();
}
-__attribute__((weak)) void webusb_receive_kb(uint8_t *data, uint8_t length) { }
-
static void webusb_task(void) {
// Create a temporary buffer to hold the read in data from the host
uint8_t data[WEBUSB_EPSIZE];