replace systemInit with its contents, so we can remove unnecessary code here

This commit is contained in:
Stefan `Sec` Zehl 2011-07-09 22:13:46 +02:00
parent 308c04b542
commit 7701a48f69
1 changed files with 7 additions and 1 deletions

View File

@ -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();