Commit 6c289f4a authored by 李俭双's avatar 李俭双

🐞 fix:修改前轮胎压报警值高位为2.3

parent 9d7483d0
...@@ -405,7 +405,7 @@ void Data_TPMS_Processing_Service ( void ) ...@@ -405,7 +405,7 @@ void Data_TPMS_Processing_Service ( void )
TPMS.Front_Press_Value = 9900; TPMS.Front_Press_Value = 9900;
} }
//if(((TPMS.Front_Press_Value + 50) < 1700) || ((TPMS.Front_Press_Value + 50) > 2300)) //if(((TPMS.Front_Press_Value + 50) < 1700) || ((TPMS.Front_Press_Value + 50) > 2300))
if((Get_Front_TPMS_Sig_Value() < 17) || (Get_Front_TPMS_Sig_Value() > 25)) if((Get_Front_TPMS_Sig_Value() < 17) || (Get_Front_TPMS_Sig_Value() > 23))
{ {
TPMS.TPMS_Warning = 1; TPMS.TPMS_Warning = 1;
} }
...@@ -441,7 +441,7 @@ void Data_TPMS_Processing_Service ( void ) ...@@ -441,7 +441,7 @@ void Data_TPMS_Processing_Service ( void )
TPMS.Rear_Press_Value = 9900; TPMS.Rear_Press_Value = 9900;
} }
//if (((TPMS.Front_Press_Value + 50) < 1700) || ((TPMS.Front_Press_Value + 50) > 2300) || ((TPMS.Rear_Press_Value + 50) < 1700) || ((TPMS.Rear_Press_Value + 50) > 2500)) //if (((TPMS.Front_Press_Value + 50) < 1700) || ((TPMS.Front_Press_Value + 50) > 2300) || ((TPMS.Rear_Press_Value + 50) < 1700) || ((TPMS.Rear_Press_Value + 50) > 2500))
if ((Get_Front_TPMS_Sig_Value() < 17) || (Get_Front_TPMS_Sig_Value() > 25) || (Get_Rear_TPMS_Sig_Value() < 17) || (Get_Rear_TPMS_Sig_Value() > 25)) if ((Get_Front_TPMS_Sig_Value() < 17) || (Get_Front_TPMS_Sig_Value() > 23) || (Get_Rear_TPMS_Sig_Value() < 17) || (Get_Rear_TPMS_Sig_Value() > 25))
{ {
TPMS.TPMS_Warning = 1; TPMS.TPMS_Warning = 1;
} }
......
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