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
TY
TianYing_ty100
Commits
b2270b14
Commit
b2270b14
authored
Sep 20, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
62041 ID220外发AliveCounter出现异常跳变,多次初始化,增加初始化条件
parent
8005f70d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+7
-4
No files found.
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
b2270b14
...
...
@@ -123,7 +123,7 @@ static void Power_Wakeup_Init(void)
Sys_WakeUp_Init
();
Data_TPMS_KL15_WAKE_UP_Init
();
//
CAN_TX_Count_Init();
CAN_TX_Count_Init
();
CAN_TX_Init
();
//CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
...
...
@@ -161,6 +161,7 @@ static void Power_Wakeup_Init(void)
Common_DataInit
();
Power_KL30_Init_flag
=
1
;
AliveCount_KL30_ResettingFlag
=
1
;
}
static
void
Power_LVP_Init
(
void
)
...
...
@@ -176,18 +177,20 @@ static void Power_IG_OFF_Init(void)
{
Line_In_KL15_OFF_Init
();
Checkself_Init
();
Common_Input_Para
();
//CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Disable);
}
static
void
Power_IG_ON_Init
(
void
)
{
Checkself_Init
();
CAN_TX_Count_Init
();
Checkself_Init
();
Line_In_KL15_ON_Init
();
Telltales_KL15_Init
();
Telltales_UserInit
();
Fuel_KL15_Init
();
Data_Voltage_Init
();
MenuData_TCS_Init
();
MenuData_TCS_Init
();
Data_Coolant_Temp_KL15_Init
();
BlueTooth_KL30_KL15_Wakeup_Init
();
Data_TPMS_KL15_WAKE_UP_Init
();
...
...
@@ -196,7 +199,7 @@ static void Power_IG_ON_Init(void)
Data_Read_DiagPara
();
FaultCode_Init
();
CAN_TX_Count_Init
();
}
static
void
Power_Sleep_Init
(
void
)
...
...
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