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
d3da618a
Commit
d3da618a
authored
Nov 15, 2024
by
heyudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:62490同步联系人 联系人数量错位闪烁显示
parent
b8f19eaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
12 deletions
+32
-12
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+32
-12
No files found.
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
d3da618a
...
...
@@ -2220,6 +2220,10 @@ void AMT630H_GUI_Bluetooth_Connect_Setting(Menu_Item_en_t select, uint8_t Connec
}
/*同步联系人数字显示*/
if
(
connect_personnumber
>
5000
)
{
connect_personnumber
=
5000
;
}
if
(
g_u8Display_Mode
==
ModeDAY
)
{
if
((
connect_personnumber
>=
0
)
&&
(
connect_personnumber
<
10
))
...
...
@@ -2234,12 +2238,22 @@ void AMT630H_GUI_Bluetooth_Connect_Setting(Menu_Item_en_t select, uint8_t Connec
DisplayNumPara
.
x
=
612
;
DisplayNumPara
.
MinDigits
=
2
;
}
// else if(Contect_totalnumber == 3)
// {
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */
//
// }
else
if
((
connect_personnumber
>=
100
)
&&
(
connect_personnumber
<
1000
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_1150_576_287
);
/*【括号】 三位数 */
/* 同步联系人最大位数未确定*/
DisplayNumPara
.
x
=
619
;
DisplayNumPara
.
MinDigits
=
3
;
}
else
if
((
connect_personnumber
>=
1000
)
&&
(
connect_personnumber
<
10000
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_1151_569_287
);
/*【括号】 四位数 */
/* 同步联系人最大位数未确定*/
DisplayNumPara
.
x
=
626
;
DisplayNumPara
.
MinDigits
=
4
;
}
else
{
;
}
DisplayNumPara
.
NumList
=
Bluetooth_num_day
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
GROUP_PIC_USE_PSD_Y_POS
;
...
...
@@ -2261,16 +2275,22 @@ void AMT630H_GUI_Bluetooth_Connect_Setting(Menu_Item_en_t select, uint8_t Connec
DisplayNumPara
.
x
=
612
;
DisplayNumPara
.
MinDigits
=
2
;
}
else
if
((
connect_personnumber
>=
100
)
&&
(
connect_personnumber
<
1000
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_1152_576_287
);
/*【括号】 三位数 */
/* 同步联系人最大位数未确定*/
DisplayNumPara
.
x
=
619
;
DisplayNumPara
.
MinDigits
=
3
;
}
else
if
((
connect_personnumber
>=
1000
)
&&
(
connect_personnumber
<
10000
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_1153_569_287
);
/*【括号】 四位数 */
/* 同步联系人最大位数未确定*/
DisplayNumPara
.
x
=
626
;
DisplayNumPara
.
MinDigits
=
4
;
}
else
{
;
}
// else if(Contect_totalnumber == 3)
// {
// SetPagePic(GRAPHICS_PAGE_0, ); /*【括号】 三位数 */
//
// }
DisplayNumPara
.
NumList
=
Bluetooth_num_night
;
DisplayNumPara
.
NumInterval
=
GROUP_PIC_DIR_LEFT
|
14
;
DisplayNumPara
.
y
=
GROUP_PIC_USE_PSD_Y_POS
;
...
...
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