Commit 81e56a70 authored by 张金硕's avatar 张金硕

🐞 fix:修改主页面水温灯显示逻辑,UUIDConfigBuf[21]数组的每个元素赋为0XFF

parent 33aadbbb
......@@ -11,7 +11,7 @@ uint16_t LastPhoneBookTotalCount = 0;
_PICID_Struct PicObj;
_QRCODE_RECT QRCode_Rect;
const uint8_t HJBlueToothName[9]= {"HJ750"};
uint8_t UUIDConfigBuf[21] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
uint8_t UUIDConfigBuf[21] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
//007502024092400000002
//0x30,0x30,0x37,0x35,0x30,0x32,0x30,0x32,0x34,0x30,0x39,0x32,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x31
uint8_t SetBluetoothCloseCount = 0;
......@@ -368,19 +368,22 @@ uint8_t Get_Talking_PhoneBookValid(void)
for(uint8_t i=0;i<100;i++)
{
if(CurBlueToothPhoneName[i]!=0)
return 1;
{
return 1;
}
}
return 0;
}
uint8_t Get_UUID_UDSStatus(void)
{
for(uint8_t i=0;i<21;i++)
{
if(UUIDConfigBuf[i]!=0xFF)
return 1;
{
return 1;
}
}
return 0;
}
......
......@@ -21,6 +21,7 @@ uint16_t g_u16voltagenumberdown = 160;
uint8_t Voltage_Selfcheck = 1;
uint8_t TFT_SelfCheck = 0;
uint8_t CoolantOpenShortCirTimeCnt = 0;
uint8_t HomePageCoolShortCirTimeCnt = 0;
//自检函数
void AMT630H_GUI_BACKGRAND_SelfCheck(void);
......@@ -2914,7 +2915,7 @@ static void AMT630H_GUI_Light()
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0747_244_26);
}
if(Get_TelltalesLedSts(em_LED_Coolant_Temperature))
if((GET_DataCollantTempSegStatus() == 1)&&(GET_DataCoolantTempSegDisp() == 8))
{
if(FLASH_SYNC_1Hz)
{
......@@ -2924,6 +2925,35 @@ static void AMT630H_GUI_Light()
{
;
}
HomePageCoolShortCirTimeCnt = 0;
}
else if(GET_DataCollantTempSegStatus() == 2)
{
HomePageCoolShortCirTimeCnt++;
if(HomePageCoolShortCirTimeCnt <= 15)
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0741_616_20);/*水温灯(红)报警闪烁0.75ms*/
}
else if(HomePageCoolShortCirTimeCnt <= 20)
{
;
}
else
{
HomePageCoolShortCirTimeCnt = 0;
}
}
else if(GET_DataCollantTempSegStatus() == 3)
{
if(FLASH_SYNC_1Hz)
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0741_616_20);/*水温灯报警闪烁1HZ*/
}
else
{
;
}
HomePageCoolShortCirTimeCnt = 0;
}
if(GetPhoneMirrorst() == 1) /*WIFI指示灯*/
{
......
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