summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5ad7ce6..33cf61d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,6 +9,7 @@
#include <devicetree.h>
#include "kscan.h"
+#include "usb_hid.h"
void main(void)
{
@@ -18,4 +19,9 @@ void main(void)
printk("Keyboard Scan Init Failed\n");
return;
}
+
+ if (zmk_usb_hid_init() < 0) {
+ printk("USB HID Init Failed\n");
+ return;
+ }
}