diff options
| author | Stefan Kerkmann <[email protected]> | 2021-08-07 14:08:18 +0200 |
|---|---|---|
| committer | Stefan Kerkmann <[email protected]> | 2021-08-07 14:08:18 +0200 |
| commit | 27f147f421927c6822f00608e2c3757687834e2f (patch) | |
| tree | de72dd217bbc85b23fe815af0f42f64f64155340 | |
| parent | 8b78067cc1142c5915ad5fa1275996e92f91a58d (diff) | |
Minor style changes
| -rw-r--r-- | hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c b/hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c index 0a1008399..e15d4e2b2 100644 --- a/hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c +++ b/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 */ |
