ソースを参照

Minor style changes

Stefan Kerkmann 4 年 前
コミット
27f147f421
1 ファイル変更6 行追加6 行削除
  1. 6 6
      hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c

+ 6 - 6
hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c

@@ -39,15 +39,15 @@ void USBFS_IRQHandler(void) { tud_int_handler(0); }
 
 #define USB_NO_VBUS_PIN
 
-#define BUTTON_PORT GPIOA
-#define BUTTON_PIN GPIO_PIN_0
-#define BUTTON_STATE_ACTIVE 1
+#define TIMER_TICKS         (SystemCoreClock / 1000)
 
-#define UART_DEV SOC_DEBUG_UART
+#define BUTTON_PORT         GPIOA
+#define BUTTON_PIN          GPIO_PIN_0
+#define BUTTON_STATE_ACTIVE 1
 
-#define LED_PIN LED_R
+#define UART_DEV            SOC_DEBUG_UART
 
-#define TIMER_TICKS (SystemCoreClock / 1000)
+#define LED_PIN             LED_R
 
 void board_init(void) {
   /* Disable interrupts during init */