Commit 41651a28 authored by hu's avatar hu

调整ODO库函数,解决清小G死机问题

parent ddaf2a14
No preview for this file type
This diff is collapsed.
project .intvect 1536
project .text 320124
project .text 320108
project .rodata 411103
project .secinfo 120
project .syscall 6
......
No preview for this file type
......@@ -600,13 +600,14 @@ void GUI_TFTTelltales_Display(uint8_t Mode)
void GUI_WetGas_Dispaly(uint8_t Mode)
{
uint8_t current_value = 0u;
uint8_t current_Flag = 1u; /*有效性*/
if (Mode == GUI_DISP_MODE_NORMAL)
{
current_value = GetGaugesCurrentPos(WETGasGauges);
//Common_Get_WET_Valid(); /*有效性判断用*/
//current_Flag = Common_Get_WET_Valid(); /*有效性判断用*/
if (current_value <= 17u)
if ((current_value <= 17u) && (current_Flag == 1u))
{
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