From a5dc0fef5f1f8c11b3f5cdd9b05e42591000c2ac Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 16 Sep 2021 11:59:43 -0400 Subject: [PATCH] Revert #5341. Does not work on power-cycle. --- ports/raspberrypi/supervisor/port.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ports/raspberrypi/supervisor/port.c b/ports/raspberrypi/supervisor/port.c index 213084582b..fca6d6554c 100644 --- a/ports/raspberrypi/supervisor/port.c +++ b/ports/raspberrypi/supervisor/port.c @@ -238,8 +238,9 @@ void port_interrupt_after_ticks(uint32_t ticks) { void port_idle_until_interrupt(void) { common_hal_mcu_disable_interrupts(); if (!background_callback_pending()) { - asm volatile ("dsb 0xF" ::: "memory"); - __wfi(); + // TODO: Does not work when board is power-cycled. + // asm volatile ("dsb 0xF" ::: "memory"); + // __wfi(); } common_hal_mcu_enable_interrupts(); }