Browse Source

add missing "WFI"

...prevent overheating when overclocking and exiting loop()
main
Frank 3 years ago
parent
commit
9f4e4e698d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/startup.c

+ 1
- 1
teensy4/startup.c View File

@@ -147,7 +147,7 @@ void ResetHandler(void)
//printf("before setup\n");
main();
while (1) ;
while (1) asm("WFI");
}



Loading…
Cancel
Save