Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RT_RMR42E
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
时昊
RT_RMR42E
Commits
d2c69af1
Commit
d2c69af1
authored
Jul 09, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改can回调函数
parent
2a3c733a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CAN_CH0_CAN_Communication_Matrix.c
...ce/Application/CAN_APP/CAN_CH0_CAN_Communication_Matrix.c
+2
-2
CAN_CH0_CAN_Communication_Matrix.h
...ce/Application/CAN_APP/CAN_CH0_CAN_Communication_Matrix.h
+2
-2
No files found.
Firmware/Source/Application/CAN_APP/CAN_CH0_CAN_Communication_Matrix.c
View file @
d2c69af1
...
...
@@ -343,11 +343,11 @@ uint8_t Get_CAN_Num_SMCU_ErrorGrage(void)
return
SMCU_ErrorGrage
;
}
void
System_Indicator_ON_callback
(
void
)
void
System_Indicator_ON_callback
(
canlib_uint8_t
CopyData
[]
)
{
System_Indicator_CANFlag
=
0
;
}
void
System_Indicator_OFF_callback
(
void
)
void
System_Indicator_OFF_callback
(
canlib_uint8_t
CopyData
[]
)
{
System_Indicator_CANFlag
=
1
;
}
...
...
Firmware/Source/Application/CAN_APP/CAN_CH0_CAN_Communication_Matrix.h
View file @
d2c69af1
...
...
@@ -137,8 +137,8 @@ extern uint8_t Get_CAN_Num_SMCU_ErrorGrage(void);
extern
uint8_t
Co_Can_ConvertSubID_CAN_CH0
(
uint32_t
MsgID
);
extern
uint8_t
System_Indicator_CANFlag
;
extern
void
Set_CAN_ALL_Signal
(
void
);
void
System_Indicator_ON_callback
(
void
);
void
System_Indicator_OFF_callback
(
void
);
void
System_Indicator_ON_callback
(
canlib_uint8_t
CopyData
[]
);
void
System_Indicator_OFF_callback
(
canlib_uint8_t
CopyData
[]
);
extern
uint8_t
Get_CAN_Power_State
(
void
);
#endif
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