Commit 0456ea0f authored by hu's avatar hu

调整WET无效时的显示BUG

parent 29f9d661
...@@ -581,6 +581,8 @@ void GUI_WetGas_Dispaly(uint8_t Mode) ...@@ -581,6 +581,8 @@ void GUI_WetGas_Dispaly(uint8_t Mode)
current_value = GetGaugesCurrentPos(WETGasGauges); current_value = GetGaugesCurrentPos(WETGasGauges);
current_Flag = Common_Get_WET_Valid(); /*有效性判断用*/ current_Flag = Common_Get_WET_Valid(); /*有效性判断用*/
if ((current_value <= 17u) && (current_Flag == 1u))
{
switch (current_value) switch (current_value)
{ {
case 0x14u: /*20*/ case 0x14u: /*20*/
...@@ -629,8 +631,6 @@ void GUI_WetGas_Dispaly(uint8_t Mode) ...@@ -629,8 +631,6 @@ void GUI_WetGas_Dispaly(uint8_t Mode)
break; break;
} }
if ((current_value <= 17u) && (current_Flag == 1u))
{
GUI_General_Display(WET_Sprite, CN_qiyafuhaodeng, GUI_BLENDMODE_SRC_OVER); /*气压符号灯。*/ GUI_General_Display(WET_Sprite, CN_qiyafuhaodeng, GUI_BLENDMODE_SRC_OVER); /*气压符号灯。*/
GUI_General_Display(WET_Sprite, CN_qiya, GUI_BLENDMODE_SRC_OVER); /*刷长条的气压表框。*/ GUI_General_Display(WET_Sprite, CN_qiya, GUI_BLENDMODE_SRC_OVER); /*刷长条的气压表框。*/
} }
......
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