Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
f068ae83
Commit
f068ae83
authored
Jan 13, 2026
by
李鑫3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:添加上电一轮检测到一次或多次都只加1
parent
76b4e4f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+8
-2
Task.h
YueJin_test_bench/source/Appliciation/Task.h
+1
-1
api_RS485.c
YueJin_test_bench/source/Appliciation/api_RS485.c
+2
-2
No files found.
YueJin_test_bench/source/Appliciation/Task.c
View file @
f068ae83
...
...
@@ -75,7 +75,7 @@ void Sys_Run_Mode_5ms_Tasks_Group(void)
/*==============================================================================
10ms����ִ������ ��0��
------------------------------------------------------------------------------*/
uint8_t
IG_on
=
0
;
void
Sys_Run_Mode_10ms_Tasks_Group
(
void
)
{
Key_Service
();
...
...
@@ -89,7 +89,11 @@ void Sys_Run_Mode_10ms_Tasks_Group(void)
backsend
();
TX_RX_485_service
();
EE_Read
();
if
(
IG_on
==
0
)
{
EE_Read
();
}
...
...
@@ -148,6 +152,7 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
LINE_OUT_NEG_04
=
0
;
LINE_OUT_NEG_02
=
0
;
LINE_OUT_NEG_03
=
0
;
IG_on
=
1
;
}
else
if
(
delay222
==
150
)
{
...
...
@@ -158,6 +163,7 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
delay222
=
0
;
ee_flag
=
0
;
ee
=
0
;
IG_on
=
0
;
}
...
...
YueJin_test_bench/source/Appliciation/Task.h
View file @
f068ae83
...
...
@@ -22,5 +22,5 @@ void Sys_Exact_100ms_Tasks(void);
void
Sys_Enter_Sleep_Mode
(
void
);
uint16_t
Sys_Get_ms_Rolling_Counter
(
void
);
extern
uint8_t
ee_flag
;
extern
uint8_t
IG_on
;
#endif
\ No newline at end of file
YueJin_test_bench/source/Appliciation/api_RS485.c
View file @
f068ae83
...
...
@@ -641,14 +641,14 @@ const uint16_t ODODigitNum09PosX22 []= {165,155,145,135,125,115};
void
EE_Read
(
void
)
{
if
((
EE_Flag
!=
64
))
if
((
EE_Flag
!=
16
))
{
if
((
ee_flag
==
1
)
&&
(
LINE_OUT_NEG_04
==
1
))
{
eenum
++
;
GUI_General_Digit_Display
(
eenum
,
Num_15
,
6
,
5
,
ODODigitNum09PosX22
,
40
+
25
);
IG_on
=
1
;
}
}
}
...
...
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