Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
haoJin750TFT
Commits
81e56a70
Commit
81e56a70
authored
Oct 14, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改主页面水温灯显示逻辑,UUIDConfigBuf[21]数组的每个元素赋为0XFF
parent
33aadbbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
6 deletions
+39
-6
BlueTooth.c
Firmware/Source/Application/BlueTooth.c
+8
-5
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+31
-1
No files found.
Firmware/Source/Application/BlueTooth.c
View file @
81e56a70
...
...
@@ -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
]
=
{
0
xFF
,
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
;
}
...
...
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
81e56a70
...
...
@@ -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指示灯*/
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment