diff options
| author | Dien-Nhung Nguyen-Phu <kein@kienlab.com> | 2024-07-11 21:23:07 +0700 |
|---|---|---|
| committer | Dien-Nhung Nguyen-Phu <kein@kienlab.com> | 2024-07-11 22:18:56 +0700 |
| commit | 49fc27a23e0f5ca46337493cdac02ee116f786e3 (patch) | |
| tree | d46124776c6fcf295ef18a18f2f90c128e2369e0 /src/usb/setup.c | |
| parent | 4f3b6f4283e0240060c04a137175cacfb385dc16 (diff) | |
usb: add hiddev and write to flash
Diffstat (limited to 'src/usb/setup.c')
| -rw-r--r-- | src/usb/setup.c | 4 |
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 |