From 3bc254fd52b1da80ea66b1b21af993c91af33e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Tue, 2 May 2017 17:19:08 +0200 Subject: [PATCH] change UART speed to 1.5 Mbps because CP2101 can't handle 2 Mpbs --- lib/usart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/usart.c b/lib/usart.c index 6d139bd..1bf95a8 100644 --- a/lib/usart.c +++ b/lib/usart.c @@ -40,7 +40,7 @@ #define USART_ID 1 /**< USART peripheral */ /** @} */ -#define USART_BAUDRATE 2000000 /**< serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */ +#define USART_BAUDRATE 1500000 /**< serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */ /* input and output ring buffer, indexes, and available memory */ static uint8_t rx_buffer[USART_BUFFER] = {0}; /**< ring buffer for received data */