From 49fc27a23e0f5ca46337493cdac02ee116f786e3 Mon Sep 17 00:00:00 2001 From: Dien-Nhung Nguyen-Phu Date: Thu, 11 Jul 2024 21:23:07 +0700 Subject: usb: add hiddev and write to flash --- src/usb/setup.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/usb/setup.c') 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 -- cgit v1.2.3