From 2fc56f4ff4b72d71dee856fd27195ab909f8a802 Mon Sep 17 00:00:00 2001 From: zhangjun1996 <2281979437@qq.com> Date: Sat, 15 Jun 2019 14:05:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E6=96=87=E4=BB=B6=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/libraries/HAL_Drivers/drv_can.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_can.h b/bsp/stm32/libraries/HAL_Drivers/drv_can.h index 8fe1488bc5..dc5ccca76b 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drv_can.h +++ b/bsp/stm32/libraries/HAL_Drivers/drv_can.h @@ -38,17 +38,17 @@ struct stm32_drv_can CAN_HandleTypeDef CanHandle; CAN_TxHeaderTypeDef TxMessage; CAN_RxHeaderTypeDef RxMessage; - uint8_t RxMessage_Data[8]; + uint8_t RxMessage_Data[8]; CAN_RxHeaderTypeDef Rx1Message; - uint8_t Rx1Message_Data[8]; + uint8_t Rx1Message_Data[8]; CAN_FilterTypeDef FilterConfig; }; #ifdef __cplusplus - extern "C" { +extern "C" { #endif extern int rt_hw_can_init(void); #ifdef __cplusplus - } +} #endif #endif /*__DRV_CAN_H__ */