From 9363133fd8880d60cfa01c4e0e7e183fb2b4079e Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 19 Nov 2011 18:27:38 +0100 Subject: Add hal_init() to abstract away RCC from entry.cpp. --- hal/hal.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hal/hal.h (limited to 'hal') 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 -- cgit v1.2.3