Commit f722428a authored by 李俭双's avatar 李俭双

🐞 fix:43043,更改数字显示残缺,跳变

parent 17f2d17f
......@@ -2804,6 +2804,7 @@ void Check_SEG_Display(void)
SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS(1, ((a * 11111) + 100000), 0);
SEG_SET_VSpeed_NUM(1u, (100u + (a * 10u) + a), 0);
SEG_SET_Clock(((a * 10u) + a), ((a * 10u) + a), 1u, 1u, 1u);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Screen_Time, LED_ON);
SEG_SET_TPMS_NUM(1, a * 11, a * 11, 0, 1, 1);
SEG_SET_Voltage_NUM(1, a * 111);
......@@ -2865,6 +2866,7 @@ void Checkself_SEG_Display(void)
hour = (Checkself_SEG_step / 3) * 11;
min = (Checkself_SEG_step / 3) * 11;
SEG_SET_Clock(hour, min, 1, 1, 1);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Screen_Time, LED_ON);
TPMS = (Checkself_SEG_step / 3) * 11;
SEG_SET_TPMS_NUM(1, TPMS, TPMS, 0, 1, 1);
......@@ -2881,7 +2883,7 @@ void Checkself_SEG_Display(void)
Checkself_SEG_step_count = 60;
}
if (Checkself_SEG_step_count <= 30)
if (Checkself_SEG_step_count <= 29)
{
Checkself_SEG_step++;
}
......
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