[BSP][ls1c]Fix drv_can.c: No such file or directory(ls1c_can.h)
This commit is contained in:
parent
f9ffb4c840
commit
d78c3198b2
|
@ -29,13 +29,12 @@
|
|||
|
||||
#include <drv_can.h>
|
||||
|
||||
|
||||
#include "ls1c.h"
|
||||
#include "ls1c_public.h"
|
||||
#include "ls1c_regs.h"
|
||||
#include "ls1c_clock.h"
|
||||
#include "ls1c_can.h"
|
||||
#include "ls1c_pin.h"
|
||||
#include "../libraries/ls1c_public.h"
|
||||
#include "../libraries/ls1c_regs.h"
|
||||
#include "../libraries/ls1c_clock.h"
|
||||
#include "../libraries/ls1c_can.h"
|
||||
#include "../libraries/ls1c_pin.h"
|
||||
|
||||
|
||||
#ifdef RT_USING_CAN
|
||||
|
|
|
@ -93,7 +93,7 @@ unsigned char set_start(CAN_TypeDef* CANx)
|
|||
return set_normal_mode(CANx);
|
||||
}
|
||||
|
||||
unsigned char CAN_Init(CAN_TypeDef* CANx, CAN_InitTypeDef* CAN_InitStruct)
|
||||
unsigned char CAN_Init(CAN_TypeDef* CANx, CAN_InitTypeDef* CAN_InitStruct)
|
||||
{
|
||||
unsigned char InitStatus = CAN_InitStatus_Failed;
|
||||
unsigned long wait_ack = 0x00000000;
|
||||
|
|
|
@ -221,7 +221,7 @@ unsigned char CAN_Transmit(CAN_TypeDef* CANx, CanTxMsg* TxMessage);
|
|||
void CAN_Receive(CAN_TypeDef* CANx, CanRxMsg* RxMessage);
|
||||
|
||||
unsigned char set_reset_mode(CAN_TypeDef* CANx);
|
||||
unsigned char set_start(CAN_TypeDef* CANx);
|
||||
unsigned char set_start(CAN_TypeDef* CANx);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue