We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d68b4f commit 0bcc502Copy full SHA for 0bcc502
1 file changed
misc.c
@@ -32,7 +32,7 @@ void __not_in_flash_func(zzz)() {
32
*(uint32_t*)0x40060000 = 0x00d1e000; // disable rosc
33
vreg[0] = 1; // lowest possible power
34
*(uint32_t*)0x40024000 = 0x00d1e000; // disable xosc
35
- while(1);
+ while(1) __asm volatile("wfi"); // WFI
36
}
37
38
void finish_pins_except_leds() {
0 commit comments