supervisor: usb: note that it's unusual to need to call usb_background

This commit is contained in:
Jeff Epler 2020-07-14 10:08:07 -05:00
parent 1df48176ce
commit 81105cb9ef
1 changed files with 4 additions and 2 deletions

View File

@ -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