From b53b024bc38b897fd7b3310e1d897b1c81b1b4f1 Mon Sep 17 00:00:00 2001 From: RicardoEA <ricardo.ercoli@fing.edu.uy> Date: Sun, 4 Jun 2023 17:40:15 -0300 Subject: [PATCH] Change serial communication: use two stop bits --- Robotito/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robotito/src/main.c b/Robotito/src/main.c index aa3ead8..64f6b43 100644 --- a/Robotito/src/main.c +++ b/Robotito/src/main.c @@ -70,7 +70,7 @@ static void init_uart(void) .baud_rate = 9600, .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, - .stop_bits = UART_STOP_BITS_1, + .stop_bits = UART_STOP_BITS_2, .flow_ctrl = UART_HW_FLOWCTRL_DISABLE, .source_clk = UART_SCLK_APB, }; -- GitLab