Skip to content

Commit 0bcc502

Browse files
authored
wfi
1 parent 9d68b4f commit 0bcc502

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void __not_in_flash_func(zzz)() {
3232
*(uint32_t*)0x40060000 = 0x00d1e000; // disable rosc
3333
vreg[0] = 1; // lowest possible power
3434
*(uint32_t*)0x40024000 = 0x00d1e000; // disable xosc
35-
while(1);
35+
while(1) __asm volatile("wfi"); // WFI
3636
}
3737

3838
void finish_pins_except_leds() {

0 commit comments

Comments
 (0)