summaryrefslogtreecommitdiff
path: root/supervisor/usb.h
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-07-14 10:08:07 -0500
committerJeff Epler <jepler@gmail.com>2020-07-15 11:49:44 -0500
commit81105cb9ef68c4d88eab206f111af448440c8f30 (patch)
tree3e1106aea9655bed6ca9295c63f8fe9059e68b3d /supervisor/usb.h
parent1df48176ce2e4111c4629269cb86d2a6e365a3d2 (diff)
supervisor: usb: note that it's unusual to need to call usb_background
Diffstat (limited to 'supervisor/usb.h')
-rw-r--r--supervisor/usb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/supervisor/usb.h b/supervisor/usb.h
index 1bed9bbb4..2a447c368 100644
--- a/supervisor/usb.h
+++ b/supervisor/usb.h
@@ -29,8 +29,10 @@
#include <stdbool.h>
-// Ports must call this as frequently as they can in order to keep the USB connection
-// alive and responsive.
+// Ports must call this as frequently as they can in order to keep the USB
+// connection alive and responsive. Normally this is called from background
+// tasks after the USB IRQ handler is executed, but in specific circumstances
+// it may be necessary to call it directly.
void usb_background(void);
// Ports must call this from their particular USB IRQ handler