summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-11-23 22:50:11 -0800
committerGitHub <noreply@github.com>2022-11-24 15:50:11 +0900
commit263bc7cf21e60ecefe602d8fe3d02945201eaf77 (patch)
tree16ad661fae12185c53fe11e4c4eed5bdb1f927e9 /quantum
parent64f04b30c2f48fc0e7c49ca043443f03dc56df94 (diff)
Remove Web USB (depreciated) (#361)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c13
-rw-r--r--quantum/quantum.h5
2 files changed, 0 insertions, 18 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 4a0cf31592..9538366776 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -452,19 +452,6 @@ void matrix_scan_quantum() {
matrix_scan_kb();
}
-#ifdef WEBUSB_ENABLE
-__attribute__((weak)) bool webusb_receive_user(uint8_t *data, uint8_t length) {
- return false;
-}
-__attribute__((weak)) bool webusb_receive_kb(uint8_t *data, uint8_t length) {
- return webusb_receive_user(data, length);
-}
-
-bool webusb_receive_quantum(uint8_t *data, uint8_t length) {
- return webusb_receive_kb(data, length);
-}
-#endif
-
//------------------------------------------------------------------------------
// Override these functions in your keymap file to play different tunes on
// different events such as startup and bootloader jump
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 91134c1128..ce7625ccbb 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -193,11 +193,6 @@ extern layer_state_t layer_state;
#include "dip_switch.h"
#endif
-
-#ifdef WEBUSB_ENABLE
-# include "webusb.h"
-#endif
-
#ifdef ORYX_ENABLE
# include "oryx.h"
#endif