[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 <drv_can.h>
|
||||||
|
|
||||||
|
|
||||||
#include "ls1c.h"
|
#include "ls1c.h"
|
||||||
#include "ls1c_public.h"
|
#include "../libraries/ls1c_public.h"
|
||||||
#include "ls1c_regs.h"
|
#include "../libraries/ls1c_regs.h"
|
||||||
#include "ls1c_clock.h"
|
#include "../libraries/ls1c_clock.h"
|
||||||
#include "ls1c_can.h"
|
#include "../libraries/ls1c_can.h"
|
||||||
#include "ls1c_pin.h"
|
#include "../libraries/ls1c_pin.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef RT_USING_CAN
|
#ifdef RT_USING_CAN
|
||||||
|
|
|
@ -93,7 +93,7 @@ unsigned char set_start(CAN_TypeDef* CANx)
|
||||||
return set_normal_mode(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 char InitStatus = CAN_InitStatus_Failed;
|
||||||
unsigned long wait_ack = 0x00000000;
|
unsigned long wait_ack = 0x00000000;
|
||||||
|
|
Loading…
Reference in New Issue