From 4dfba4f510e7b2c3f973f5a2a052098ee111dbe0 Mon Sep 17 00:00:00 2001 From: HorrorTroll Date: Wed, 21 Aug 2024 20:42:11 +0700 Subject: [PATCH] Resolved zvecr suggestion --- docs/flashing.md | 1 - platforms/chibios/drivers/serial_usart.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/docs/flashing.md b/docs/flashing.md index 3abfd095a5b8..40dc80fed723 100644 --- a/docs/flashing.md +++ b/docs/flashing.md @@ -358,7 +358,6 @@ BOOTLOADER = at32-dfu Compatible flashers: -* [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases) (recommended GUI) * [dfu-util](https://dfu-util.sourceforge.net/) / `:dfu-util` target in QMK (recommended command line) ``` dfu-util -a 0 -d 2E3C:DF11 -s 0x8000000:leave -D diff --git a/platforms/chibios/drivers/serial_usart.c b/platforms/chibios/drivers/serial_usart.c index d6d254dce4cd..becf3afbce1e 100644 --- a/platforms/chibios/drivers/serial_usart.c +++ b/platforms/chibios/drivers/serial_usart.c @@ -11,11 +11,7 @@ static QMKSerialConfig serial_config = SERIAL_USART_CONFIG; #elif defined(MCU_AT32) /* AT32 MCUs */ static QMKSerialConfig serial_config = { -# if HAL_USE_SERIAL .speed = (SERIAL_USART_SPEED), -# else - .baud = (SERIAL_USART_SPEED), -# endif .ctrl1 = (SERIAL_USART_CTRL1), .ctrl2 = (SERIAL_USART_CTRL2), # if !defined(SERIAL_USART_FULL_DUPLEX)