summaryrefslogtreecommitdiff
path: root/platforms/chibios/drivers/uart.c
diff options
context:
space:
mode:
authorJoy Lee <chang.li@westberrytech.com>2022-05-23 13:57:24 +0800
committerGitHub <noreply@github.com>2022-05-23 15:57:24 +1000
commit1c7e8b9a9de0f379bad0823e3f0d1c8d9762ea6c (patch)
treec789242e9b7ee43f4c293f4296a2811085e546c5 /platforms/chibios/drivers/uart.c
parent1182f5b4be6f6ed7ee7a86bd11ef2226a8b04f8e (diff)
Added support for Wb32fq95 (#16871)
Diffstat (limited to 'platforms/chibios/drivers/uart.c')
-rw-r--r--platforms/chibios/drivers/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/uart.c b/platforms/chibios/drivers/uart.c
index 4884d7024f..396803f33b 100644
--- a/platforms/chibios/drivers/uart.c
+++ b/platforms/chibios/drivers/uart.c
@@ -18,7 +18,7 @@
#include "quantum.h"
-#if defined(WB32F3G71xx)
+#if defined(WB32F3G71xx) || defined(WB32FQ95xx)
static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE, SD1_WRDLEN, SD1_STPBIT, SD1_PARITY, SD1_ATFLCT};
#else
static SerialConfig serialConfig = {SERIAL_DEFAULT_BITRATE, SD1_CR1, SD1_CR2, SD1_CR3};