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
57efc3b1
Commit
57efc3b1
authored
Oct 08, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:函数全局声明放在.h文件里
parent
1bfd4bd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
rte_can.c
Firmware/Source/Device/Cmsemicon/BAT32A239/RTE/CAN/rte_can.c
+1
-1
rte_can.h
Firmware/Source/Device/Cmsemicon/BAT32A239/RTE/CAN/rte_can.h
+1
-0
No files found.
Firmware/Source/Device/Cmsemicon/BAT32A239/RTE/CAN/rte_can.c
View file @
57efc3b1
...
...
@@ -3,7 +3,7 @@
#include "isr.h"
#include "rte_can.h"
extern
void
Can_Rx_Cak
(
CanTxRxMsg
*
Msg
);
CANBuffList_t
CanBufList
=
{
0
};
CANMSG_Type
*
CANMSG
;
CanTxRxMsg
CAN_RecvMsg
;
...
...
Firmware/Source/Device/Cmsemicon/BAT32A239/RTE/CAN/rte_can.h
View file @
57efc3b1
...
...
@@ -45,4 +45,5 @@ extern uint8_t rte_can_deinit(CAN_CH ch);
extern
uint8_t
get_can_busoff
(
CAN_CH
ch
);
extern
uint8_t
reset_busoff
(
CAN_CH
ch
);
extern
uint8_t
Read_RingBuff
(
CanTxRxMsg
*
data
);
extern
void
Can_Rx_Cak
(
CanTxRxMsg
*
Msg
);
#endif
/* RTE_CAN_H_ */
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