Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
baizhengyuan
TianYing_ty100
Commits
f0259860
Commit
f0259860
authored
Sep 09, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:休眠时间改为5秒
parent
7ff1da3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+3
-3
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+1
-0
No files found.
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
f0259860
...
...
@@ -57,7 +57,7 @@ static void Power_KL30_Init(void)
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
Data_TPMS_Processing_Service
();
CAN_TX_Init
();
//
CAN_TX_Init();
...
...
@@ -137,7 +137,7 @@ static void Power_Wakeup_Init(void)
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
CanMSg_XMS_Analysis
(
&
CAN_CH0_CanMsgOp
,
2u
);
Data_TPMS_Processing_Service
();
CAN_TX_Init
();
//
CAN_TX_Init();
CAN_TX_Count_Init
();
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_Enable
);
...
...
@@ -268,7 +268,7 @@ static Power_Status_em Power_Stay_OFF(void)
}
else
{
if
((
Common_GetIgnOffTime
()
<
20
000
))
if
((
Common_GetIgnOffTime
()
<
5
000
))
{
u8PowerSts
=
EM_IGN_OFF
;
}
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
f0259860
...
...
@@ -138,6 +138,7 @@ void Sys_Exact_50us_Tasks(void)
task_100ms
++
;
if
(
task_100ms
>=
2000
)
{
task_100ms
=
0u
;
Data_Mileage_ISR
();
}
task_1ms
++
;
...
...
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