Skip to content

Commit

Permalink
Revert adafruit#5341. Does not work on power-cycle.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Sep 16, 2021
1 parent 3cc4f25 commit a5dc0fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ports/raspberrypi/supervisor/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit a5dc0fe

Please sign in to comment.