aboutsummaryrefslogtreecommitdiff
path: root/src/usb/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usb/setup.c')
-rw-r--r--src/usb/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usb/setup.c b/src/usb/setup.c
index b24fed0..609267a 100644
--- a/src/usb/setup.c
+++ b/src/usb/setup.c
@@ -121,6 +121,10 @@ void usb_start() {
ctrl_init();
+ /* This should be placed first, the python script always looks
+ for the first interface (not the interface number) */
+ hiddev_init();
+
init();
PFIC_EnableIRQ(USB_IRQn);
} \ No newline at end of file