Commit 1bc9e3b9 authored by 李俭双's avatar 李俭双

🐞 fix:trip显示,个位0不隐藏

parent 566f9f36
......@@ -2214,14 +2214,14 @@ void SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS(uint8_t m_Uint, uint32_t m_NUM_ODO, uint
IC1_SEG055 = IC_SEG_OFF;
}
Num = (m_NUM_TRIP / 10) % 10;
if ((m_NUM_TRIP >= 100) || (m_NUM_TRIP == 0))
{
//if ((m_NUM_TRIP >= 100) || (m_NUM_TRIP == 0))
//{
m8 = SEG_DISPLAY_NUMBER0[Num];
}
else
{
m8 = SEG_UNDISPLAY_NUMBER0[Num];
}
//}
//else
//{
// m8 = SEG_UNDISPLAY_NUMBER0[Num];
//}
if (Bit_Is_Set(m8, 0))
{
IC1_SEG050 = IC_SEG_ON;
......
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