瀏覽代碼

头文件缩进

zhangjun1996 5 年之前
父節點
當前提交
2fc56f4ff4
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      bsp/stm32/libraries/HAL_Drivers/drv_can.h

+ 4 - 4
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__ */