Commit 661eedad authored by 陈家乐's avatar 陈家乐

🐞 fix:代码评审问题:先初始化GPIO ,然后在初始化其他用到GPIO的模块。30,唤醒初始化同理

parent ecebdbe4
......@@ -45,8 +45,8 @@ void PwrMemInit(void)
static void Power_KL30_Init(void)
{
ClearODO_Flag = 0;
Simulated_IIC_2_Init();
Gpio_Init(Gpio_KL30_Init);
Simulated_IIC_2_Init();
eeprom_StoreInfo_Init();
Can_Init();
......@@ -120,8 +120,8 @@ static void Power_Wakeup_Init(void)
{
PowerIgnOffTimeLine = 0;
//RTE_CLOCK_Select_Start();
Simulated_IIC_2_Init();
Gpio_Init(Gpio_WakeUp_Init);
Simulated_IIC_2_Init();
Can_Init();
DFlash_init();
......
Markdown is supported
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