Skip to content

Commit e5290a2

Browse files
authored
Enable WFI for raspberrypi port
See #5331 for details
1 parent 9b2d8ad commit e5290a2

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

ports/raspberrypi/supervisor/port.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ 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+
asm volatile ("dsb 0xF":::"memory");
242+
__wfi();
243243
}
244244
common_hal_mcu_enable_interrupts();
245245
}

0 commit comments

Comments
 (0)