summaryrefslogtreecommitdiff
path: root/hal
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-11-19 18:27:38 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-11-19 19:24:18 +0100
commit9363133fd8880d60cfa01c4e0e7e183fb2b4079e (patch)
tree4403f4f40ae67867204dd65e230b6fe2759d1fb5 /hal
parent025a38a1f743fd9e89cbd477abe3f79a8d098097 (diff)
Add hal_init() to abstract away RCC from entry.cpp.
Diffstat (limited to 'hal')
-rw-r--r--hal/hal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/hal/hal.h b/hal/hal.h
new file mode 100644
index 0000000..4076df3
--- /dev/null
+++ b/hal/hal.h
@@ -0,0 +1,10 @@
+#ifndef HAL_H
+#define HAL_H
+
+#include "rcc.h"
+
+void hal_init() {
+ rcc_init();
+}
+
+#endif