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
f41c3f62
Commit
f41c3f62
authored
Jul 25, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:48976 外发0x450胎压信号,仪表上电偶发前几帧外发0,CAN初始化放在胎压初始化之后
parent
a7ff1e88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Can_User.c
Firmware/Source/Application/CAN_User/Can_User.c
+1
-1
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-1
No files found.
Firmware/Source/Application/CAN_User/Can_User.c
View file @
f41c3f62
...
@@ -242,7 +242,7 @@ void COM_CAN_Init(void)
...
@@ -242,7 +242,7 @@ void COM_CAN_Init(void)
memset
(
pTXBuff
,
0
,
sizeof
(
pTXBuff
));
memset
(
pTXBuff
,
0
,
sizeof
(
pTXBuff
));
CAN_CH0_CanMsgTxOp
.
CanMsg
=
(
st_CAN_SendOperation
*
)
pTXBuff
;
CAN_CH0_CanMsgTxOp
.
CanMsg
=
(
st_CAN_SendOperation
*
)
pTXBuff
;
Can_TX_BuffInit
(
&
CAN_CH0_CanMsgTxOp
,
CAN_CH0_CANSendAttr
,
CAN_CH0_ID_SEND_TOTAL
,
COM_APP_Process
);
Can_TX_BuffInit
(
&
CAN_CH0_CanMsgTxOp
,
CAN_CH0_CANSendAttr
,
CAN_CH0_ID_SEND_TOTAL
,
COM_APP_Process
);
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_
En
able
);
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_
Dis
able
);
}
}
...
...
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
f41c3f62
...
@@ -49,7 +49,7 @@ static void Power_KL30_Init(void)
...
@@ -49,7 +49,7 @@ static void Power_KL30_Init(void)
Gpio_Init
(
Gpio_KL30_Init
);
Gpio_Init
(
Gpio_KL30_Init
);
eeprom_StoreInfo_Init
();
eeprom_StoreInfo_Init
();
Can_Init
();
Can_Init
();
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_Enable
);
DFlash_init
();
DFlash_init
();
Data_Read_DiagPara
();
Data_Read_DiagPara
();
Analog_Signal_Conv_Init
();
Analog_Signal_Conv_Init
();
...
@@ -94,6 +94,7 @@ static void Power_KL30_Init(void)
...
@@ -94,6 +94,7 @@ static void Power_KL30_Init(void)
FaultCode_Init
();
FaultCode_Init
();
CAN_TX_Count_Init
();
CAN_TX_Count_Init
();
CAN_TX_SetEnable
(
&
CAN_CH0_CanMsgTxOp
,
CAN_N_TX_Enable
);
}
}
extern
uint32_t
PowerIgnOffTimeLine
;
extern
uint32_t
PowerIgnOffTimeLine
;
...
...
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