diff options
-rw-r--r-- | fmk.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,9 +1,7 @@ -#include <reg.h> -#include <stdint.h> +#include "asm.h" int main(void) { - /* TODO: Replace with an indefinite wait */ while (1) - ; + WFI(); } |
index : fmk | ||
USB Keyboard firmware for the MK20DX256 (WIP) | Tomasz Kramkowski <tomasz@kramkow.ski> |
summaryrefslogtreecommitdiffstats |
-rw-r--r-- | fmk.c | 6 |
@@ -1,9 +1,7 @@ -#include <reg.h> -#include <stdint.h> +#include "asm.h" int main(void) { - /* TODO: Replace with an indefinite wait */ while (1) - ; + WFI(); } |