Skip to content

Commit 42523a1

Browse files
authored
Merge pull request adafruit#5357 from dhalbert/revert-5341
Revert adafruit#5341. Does not work on power-cycle.
2 parents 3cc4f25 + a5dc0fe commit 42523a1

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy