Commit 18f6f848 authored by hu's avatar hu

调整时间显示BUG

......@@ -560,7 +560,7 @@ void GUI_Data_Dispaly(uint8_t Mode)
Year = (Year & 0xFF) + 1985u;
Month = (uint8_t)Get_ID_18FEE64A_Sig_TBOX_Month();
Date = (uint8_t)Get_ID_18FEE64A_Sig_TBOX_Day();
Date = Date / 4u;
Week = Cal_RTC_Week(Year, Month, Date);
if (CanStatus == CAN_SIG_NORMAL)
......@@ -2202,8 +2202,8 @@ void GUI_Year_Month_Data_Display(uint8_t Mode)
Year = (Year & 0xFF) + 1985u;
Month = (uint8_t)Get_ID_18FEE64A_Sig_TBOX_Month();
Date = (uint8_t)Get_ID_18FEE64A_Sig_TBOX_Day();
Week = Cal_RTC_Week(Year, Month, Date);
Date = Date / 4u;
Week = Cal_RTC_Week(Year, Month, Date);
Time_Hours = (uint8_t)Get_ID_18FEE64A_Sig_TBOX_Hours();
Time_Minutes = (uint8_t)Get_ID_18FEE64A_Sig_TBOX_Minutes();
......
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