Skip to content

Commit b445814

Browse files
committed
supervisor: usb: note that it's unusual to need to call usb_background
1 parent fd2b594 commit b445814

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

supervisor/usb.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929

3030
#include <stdbool.h>
3131

32-
// Ports must call this as frequently as they can in order to keep the USB connection
33-
// alive and responsive.
32+
// Ports must call this as frequently as they can in order to keep the USB
33+
// connection alive and responsive. Normally this is called from background
34+
// tasks after the USB IRQ handler is executed, but in specific circumstances
35+
// it may be necessary to call it directly.
3436
void usb_background(void);
3537

3638
// Ports must call this from their particular USB IRQ handler

0 commit comments

Comments
 (0)