diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-07-14 10:08:07 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-07-15 11:49:44 -0500 |
| commit | 81105cb9ef68c4d88eab206f111af448440c8f30 (patch) | |
| tree | 3e1106aea9655bed6ca9295c63f8fe9059e68b3d /supervisor/usb.h | |
| parent | 1df48176ce2e4111c4629269cb86d2a6e365a3d2 (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.h | 6 |
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 |
