summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:42:03 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-03-26 21:42:03 +0100
commit002346b0dea934150a108c67bb4cb1d542b5ebbe (patch)
treec19236017641125efda475303db9cfbc6b83bfde
parent580d6e3f9ef185e8bbf486d84303f6dec270080a (diff)
downloadfmk-002346b0dea934150a108c67bb4cb1d542b5ebbe.tar.gz
fmk-002346b0dea934150a108c67bb4cb1d542b5ebbe.tar.xz
fmk-002346b0dea934150a108c67bb4cb1d542b5ebbe.zip
fmk: cleanup
-rw-r--r--fmk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fmk.c b/fmk.c
index 9df6082..bf2fb79 100644
--- a/fmk.c
+++ b/fmk.c
@@ -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();
}