From 7701a48f6966254334ea19c71c4e1557b9de0c54 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Sat, 9 Jul 2011 22:13:46 +0200 Subject: [PATCH] replace systemInit with its contents, so we can remove unnecessary code here --- firmware/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/firmware/main.c b/firmware/main.c index 123f98d..818b30a 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -14,7 +14,13 @@ void wrapper(void); int main(void) { // Configure cpu and mandatory peripherals - systemInit(); + cpuInit(); // Configure the CPU +// we do it later +// systickInit(CFG_SYSTICK_DELAY_IN_MS); // Start systick timer +// cpuInit already calls this +// gpioInit(); // Enable GPIO + pmuInit(); // Configure power management + adcInit(); // Config adc pins to save power // initialise basic badge functions rbInit();