[BSP][ls1c]Fix drv_can.c: No such file or directory(ls1c_can.h)

This commit is contained in:
sundm75 2018-02-09 10:59:28 +08:00
parent f9ffb4c840
commit d78c3198b2
3 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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;