瀏覽代碼

格式化代码

chenbin 3 年之前
父節點
當前提交
66628f1061
共有 2 個文件被更改,包括 384 次插入395 次删除
  1. 380 392
      bsp/n32g452xx/Libraries/rt_drivers/drv_can.c
  2. 4 3
      bsp/n32g452xx/Libraries/rt_drivers/drv_can.h

文件差異過大導致無法顯示
+ 380 - 392
bsp/n32g452xx/Libraries/rt_drivers/drv_can.c


+ 4 - 3
bsp/n32g452xx/Libraries/rt_drivers/drv_can.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
  *
  * SPDX-License-Identifier: Apache-2.0
  *
@@ -12,14 +12,15 @@
 #define __DRV_CAN_H__
 
 #ifdef __cplusplus
-extern "C" {
+extern "C"
+{
 #endif
 
 #include <board.h>
 #include <rtdevice.h>
 #include <rtthread.h>
 
-int rt_hw_can_init(void);
+    int rt_hw_can_init(void);
 
 #ifdef __cplusplus
 }

部分文件因文件數量過多而無法顯示