8000 Revert #5341. Does not work on power-cycle. · domdfcoding/circuitpython@a5dc0fe · GitHub
[go: up one dir, main page]

Skip to content

Commit a5dc0fe

Browse files
committed
Revert adafruit#5341. Does not work on power-cycle.
1 parent 3cc4f25 commit a5dc0fe

File tree

1 file changed

+3
-2
lines changed
  • ports/raspberrypi/supervisor

1 file changed

+3
-2
lines changed

ports/raspberrypi/supervisor/port.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,9 @@ void port_interrupt_after_ticks(uint32_t ticks) {
238238
void port_idle_until_interrupt(void) {
239239
common_hal_mcu_disable_interrupts();
240240
if (!background_callback_pending()) {
241-
asm volatile ("dsb 0xF" ::: "memory");
242-
__wfi();
241+
// TODO: Does not work when board is power-cycled.
242+
// asm volatile ("dsb 0xF" ::: "memory");
243+
// __wfi();
243244
}
244245
common_hal_mcu_enable_interrupts();
245246
}

0 commit comments

Comments
 (0)
0