Commit 6bbedfd4 authored by 时昊's avatar 时昊

feat:打开rtc初始化

parent 8441a8f1
......@@ -53,7 +53,7 @@ static void Power_KL30_Init(void)
Data_User_Mileage_KL30Init();
Fuel_KL30_Init();
Amt630hInit();
//Telltales_Init();
Telltales_Init();
TimerM_PWM_counter_Output_Init(TIMERM_COUNTER1, 400, 64000000);
TimerM_PWM_CH_Output_init(TIMERM_COUNTER1, TIMERM_CHB, ActiveLevel_High);
g_stRTCInformation.u8RTCSecond = 0;
......@@ -62,7 +62,7 @@ static void Power_KL30_Init(void)
g_stRTCInformation.u8RTCDayOfMonth = 1;
g_stRTCInformation.u8RTCMonth = 1;
g_stRTCInformation.u8RTCYear = 20;
//RTE_RTC_Init(g_stRTCInformation);
RTE_RTC_Init(g_stRTCInformation);
Menu_User_Init();
Can_Init();
Protocol_KL30_Wakeup_Init();
......@@ -85,7 +85,7 @@ static void Power_Wakeup_Init(void)
Amt630hInit();
TimerM_PWM_counter_Output_Init(TIMERM_COUNTER1, 400, 64000000);
TimerM_PWM_CH_Output_init(TIMERM_COUNTER1, TIMERM_CHB, ActiveLevel_High);
//Telltales_Init();
Telltales_Init();
Key_KL30_Init_EXample();
Menu_User_WAKEUP();
Can_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