summaryrefslogtreecommitdiffstats
path: root/app/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/usb.c')
-rw-r--r--app/usb.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/usb.c b/app/usb.c
index 767ad69..83dc620 100644
--- a/app/usb.c
+++ b/app/usb.c
@@ -142,8 +142,14 @@ usb_init (void)
}
void
+usb_poll (void)
+{
+ usbd_poll (usbd_dev);
+}
+
+void
usb_run (void)
{
- while (1)
+ for (;;)
usbd_poll (usbd_dev);
}