diff options
| author | Pete Johanson <peter@peterjohanson.com> | 2020-05-05 16:09:05 -0400 |
|---|---|---|
| committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-05 16:09:05 -0400 |
| commit | a63a773983e8e575778ba2e3b326b3f2e63ce26e (patch) | |
| tree | a61249a25554e95062334b72e3f5e6706dcaa1e9 /src/main.c | |
| parent | fe961d54a351a793c9037f78a42ae07eddec7d69 (diff) | |
Get *basic* USB report sending working.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; + } } |
