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 b49f2f7 + 0cfdbb1 commit c80cb56Copy full SHA for c80cb56
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