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

🐞 fix:43593,更改胎压单位转换时显示精度

parent 25a4e32b
......@@ -1373,6 +1373,8 @@ void SEG_SET_TPMS_NUM(uint8_t m_Flag, uint16_t m_NUM1, uint16_t m_NUM2, uint8_t
{
if (m_Unit == 0)
{
IC2_SEG118 = IC_SEG_ON;
IC2_SEG138 = IC_SEG_ON;
if(FLASH_SYNC_1Hz)
{
IC2_SEG109 = IC_SEG_OFF;
......@@ -1386,6 +1388,8 @@ void SEG_SET_TPMS_NUM(uint8_t m_Flag, uint16_t m_NUM1, uint16_t m_NUM2, uint8_t
}
else
{
IC2_SEG118 = IC_SEG_OFF;
IC2_SEG138 = IC_SEG_OFF;
if(FLASH_SYNC_1Hz)
{
IC2_SEG109 = 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