Commit d2c69af1 authored by 郑萍's avatar 郑萍

🐞 fix:修改can回调函数

parent 2a3c733a
...@@ -343,11 +343,11 @@ uint8_t Get_CAN_Num_SMCU_ErrorGrage(void) ...@@ -343,11 +343,11 @@ uint8_t Get_CAN_Num_SMCU_ErrorGrage(void)
return SMCU_ErrorGrage; return SMCU_ErrorGrage;
} }
void System_Indicator_ON_callback(void) void System_Indicator_ON_callback(canlib_uint8_t CopyData [])
{ {
System_Indicator_CANFlag = 0; System_Indicator_CANFlag = 0;
} }
void System_Indicator_OFF_callback(void) void System_Indicator_OFF_callback(canlib_uint8_t CopyData [])
{ {
System_Indicator_CANFlag = 1; System_Indicator_CANFlag = 1;
} }
......
...@@ -137,8 +137,8 @@ extern uint8_t Get_CAN_Num_SMCU_ErrorGrage(void); ...@@ -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 Co_Can_ConvertSubID_CAN_CH0(uint32_t MsgID);
extern uint8_t System_Indicator_CANFlag; extern uint8_t System_Indicator_CANFlag;
extern void Set_CAN_ALL_Signal(void); extern void Set_CAN_ALL_Signal(void);
void System_Indicator_ON_callback(void); void System_Indicator_ON_callback(canlib_uint8_t CopyData []);
void System_Indicator_OFF_callback(void); void System_Indicator_OFF_callback(canlib_uint8_t CopyData []);
extern uint8_t Get_CAN_Power_State(void); extern uint8_t Get_CAN_Power_State(void);
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment