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
39993776
Commit
39993776
authored
Oct 08, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:580外发使用的变量初始化
parent
e414aefc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Can_App.c
Firmware/Source/Application/CAN_User/Can_App.c
+3
-2
Can_User.c
Firmware/Source/Application/CAN_User/Can_User.c
+3
-3
No files found.
Firmware/Source/Application/CAN_User/Can_App.c
View file @
39993776
...
...
@@ -2,7 +2,7 @@
#include "Components.h"
#include "Application.h"
uint16_t
CAN_TX_Count
=
0
;
//
uint16_t CAN_TX_Count = 0;
uint16_t
AliveCountTimer
=
0
;
uint8_t
Power_KL30_Init_flag
=
0
;
uint8_t
AliveCount_KL30_ResettingFlag
=
0
;
...
...
@@ -19,7 +19,8 @@ void CAN_TX_Flag_Init(void)
void
CAN_TX_Count_Init
(
void
)
{
CAN_TX_Count
=
0
;
//CAN_TX_Count = 0;
CAN_Send_Cound
=
0
;
if
(
AliveCount_KL30_ResettingFlag
>
0
)
{
AliveCount_KL30_ResettingFlag
=
0
;
...
...
Firmware/Source/Application/CAN_User/Can_User.c
View file @
39993776
...
...
@@ -9,6 +9,7 @@ __align(4)
uint32_t
pRXBuff
[
CAN_RX_MSG_Block
*
CAN_CH0_ID_TOTAL_MAX
];
uint32_t
pTXBuff
[
CAN_TX_MSG_Block
*
CAN_CH0_ID_SEND_TOTAL
];
static
RSCAN0BusoffMonitorStruct
RSCAN0Busoff
;
uint8_t
CAN_Send_Cound
=
0
;
void
Can_Init
(
void
)
{
...
...
@@ -396,9 +397,8 @@ uint8_t Get_Busoff_Status(void)
{
return
get_can_busoff
(
CAN_CH_0
);
}
//extern uint8_t Can_341_Flg;
//extern uint8_t Can_580Send_flag;
uint8_t
CAN_Send_Cound
=
0
;
extern
uint8_t
Tpms_TX_Flag
;
uint8_t
COM_APP_Process
(
st_CAN_Msg
*
Msg
)
...
...
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