We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3d7ab commit 358e47fCopy full SHA for 358e47f
1 file changed
ports/raspberrypi/supervisor/port.c
@@ -304,7 +304,11 @@ void port_interrupt_after_ticks(uint32_t ticks) {
304
305
void port_idle_until_interrupt(void) {
306
common_hal_mcu_disable_interrupts();
307
+#if CIRCUITPY_USB_HOST
308
if (!background_callback_pending() && !tud_task_event_ready() && !tuh_task_event_ready() && !_woken_up) {
309
+#else
310
+ if (!background_callback_pending() && !tud_task_event_ready() && !_woken_up) {
311
+#endif
312
__DSB();
313
__WFI();
314
}
0 commit comments