8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c174b7c + 9663a22 commit 09897dbCopy full SHA for 09897db
ports/raspberrypi/supervisor/usb.c
@@ -44,4 +44,10 @@ void post_usb_init(void) {
44
irq_set_exclusive_handler(USBCTRL_IRQ, usb_irq_handler);
45
46
irq_set_enabled(USBCTRL_IRQ, true);
47
+
48
+ // There is a small window where the USB interrupt may be handled by the
49
+ // pico-sdk instead of CircuitPython. If that is the case, then we'll have
50
+ // USB events to process that we didn't queue up a background task for. So,
51
+ // queue one up here even if we might not have anything to do.
52
+ usb_background_schedule();
53
}
0 commit comments