replace systemInit with its contents, so we can remove unnecessary code here
This commit is contained in:
parent
308c04b542
commit
7701a48f69
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue