Commit 8d52c939 authored by schneider's avatar schneider Committed by Rahix
Browse files

fix(bootloader): Init PMIC before portexpander

parent de30bf01
......@@ -41,16 +41,17 @@ void card10_init(void)
I2C_Shutdown(MXC_I2C1_BUS0);
I2C_Init(MXC_I2C1_BUS0, I2C_FAST_MODE, NULL);
pmic_init();
pmic_set_led(0, 0);
pmic_set_led(1, 0);
pmic_set_led(2, 0);
portexpander_init();
GPIO_Init();
PB_Init();
pmic_init();
pmic_set_led(0, 0);
pmic_set_led(1, 0);
pmic_set_led(2, 0);
TMR_Delay(MXC_TMR0, MSEC(1000), 0);
while (RTC_EnableRTCE(MXC_RTC) == E_BUSY)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment