summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorFlorian Didron <fd@librem.one>2019-11-05 12:03:16 +0900
committerDrashna Jael're <drashna@live.com>2019-12-05 16:03:53 -0800
commit368c2f1cdf7e723115e9ef8a03d601f8afa8592d (patch)
tree76c482d3158470dae037b69815ffcee2ef18d183 /tmk_core
parent70cfe93f3e493fc0ce0f9ff1b2549e71d2ce524a (diff)
fix: run webusb task on chibios
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/chibios/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index de2b493b84..16f7f31b47 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -77,6 +77,10 @@ void raw_hid_task(void);
void console_task(void);
#endif
+#ifdef WEBUSB_ENABLE
+void webusb_task(void);
+#endif
+
/* TESTING
* Amber LED blinker thread, times are in milliseconds.
*/
@@ -215,5 +219,8 @@ int main(void) {
#ifdef RAW_ENABLE
raw_hid_task();
#endif
+#ifdef WEBUSB_ENABLE
+ webusb_task();
+#endif
}
}