File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ static void usart_setup(void)
9595 GPIO_CNF_INPUT_FLOAT , GPIO_USART2_RX );
9696
9797 /* Setup UART parameters. */
98- usart_set_baudrate (USART2 , 9600 );
98+ usart_set_baudrate (USART2 , 115200 );
9999 usart_set_databits (USART2 , 8 );
100100 usart_set_stopbits (USART2 , USART_STOPBITS_1 );
101101 usart_set_mode (USART2 , USART_MODE_TX_RX );
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ static void usart_setup(void)
287287 GPIO_CNF_INPUT_FLOAT , GPIO_USART2_RX );
288288
289289 /* Setup UART parameters. */
290- usart_set_baudrate (USART2 , 9600 );
290+ usart_set_baudrate (USART2 , 115200 );
291291 usart_set_databits (USART2 , 8 );
292292 usart_set_stopbits (USART2 , USART_STOPBITS_1 );
293293 usart_set_mode (USART2 , USART_MODE_TX_RX );
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ static void usart_setup(void)
348348 GPIO_CNF_INPUT_FLOAT , GPIO_USART2_RX );
349349
350350 /* Setup UART parameters. */
351- usart_set_baudrate (USART2 , 9600 );
351+ usart_set_baudrate (USART2 , 115200 );
352352 usart_set_databits (USART2 , 8 );
353353 usart_set_stopbits (USART2 , USART_STOPBITS_1 );
354354 usart_set_mode (USART2 , USART_MODE_TX_RX );
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ static void usart_setup(void)
5050 GPIO_CNF_INPUT_FLOAT , GPIO_USART2_RX );
5151
5252 /* Setup UART parameters. */
53- usart_set_baudrate (USART2 , 230400 );
53+ usart_set_baudrate (USART2 , 115200 );
5454 usart_set_databits (USART2 , 8 );
5555 usart_set_stopbits (USART2 , USART_STOPBITS_1 );
5656 usart_set_parity (USART2 , USART_PARITY_NONE );
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ static void usart_setup(void)
144144 GPIO_CNF_INPUT_FLOAT , GPIO_USART2_RX );
145145
146146 /* Setup UART parameters. */
147- usart_set_baudrate (USART2 , 230400 );
147+ usart_set_baudrate (USART2 , 115200 );
148148 usart_set_databits (USART2 , 8 );
149149 usart_set_stopbits (USART2 , USART_STOPBITS_1 );
150150 usart_set_parity (USART2 , USART_PARITY_NONE );
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ static void usart_setup(void)
4747 GPIO_CNF_OUTPUT_ALTFN_PUSHPULL , GPIO_USART2_TX );
4848
4949 /* Setup UART parameters. */
50- usart_set_baudrate (USART2 , 230400 );
50+ usart_set_baudrate (USART2 , 115200 );
5151 usart_set_databits (USART2 , 8 );
5252 usart_set_stopbits (USART2 , USART_STOPBITS_1 );
5353 usart_set_parity (USART2 , USART_PARITY_NONE );
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static void usart_setup(void)
4444 GPIO_CNF_OUTPUT_ALTFN_PUSHPULL , GPIO_USART1_RE_TX );
4545
4646 /* Setup UART parameters. */
47- usart_set_baudrate (USART1 , 230400 );
47+ usart_set_baudrate (USART1 , 115200 );
4848 usart_set_databits (USART1 , 8 );
4949 usart_set_stopbits (USART1 , USART_STOPBITS_1 );
5050 usart_set_mode (USART1 , USART_MODE_TX );
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ static void usart_setup(void)
4747 GPIO_CNF_OUTPUT_ALTFN_PUSHPULL , GPIO_USART1_RE_TX );
4848
4949 /* Setup UART parameters. */
50- usart_set_baudrate (USART1 , 230400 );
50+ usart_set_baudrate (USART1 , 115200 );
5151 usart_set_databits (USART1 , 8 );
5252 usart_set_stopbits (USART1 , USART_STOPBITS_1 );
5353 usart_set_mode (USART1 , USART_MODE_TX );
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ static void usart_setup(void)
5252 GPIO_CNF_INPUT_FLOAT , GPIO_USART1_RE_RX );
5353
5454 /* Setup UART parameters. */
55- usart_set_baudrate (USART1 , 230400 );
55+ usart_set_baudrate (USART1 , 115200 );
5656 usart_set_databits (USART1 , 8 );
5757 usart_set_stopbits (USART1 , USART_STOPBITS_1 );
5858 usart_set_parity (USART1 , USART_PARITY_NONE );
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ static void usart_setup(void)
4949 GPIO_CNF_INPUT_FLOAT , GPIO_USART1_RX );
5050
5151 /* Setup UART parameters. */
52- usart_set_baudrate (USART1 , 230400 );
52+ usart_set_baudrate (USART1 , 115200 );
5353 usart_set_databits (USART1 , 8 );
5454 usart_set_stopbits (USART1 , USART_STOPBITS_1 );
5555 usart_set_parity (USART1 , USART_PARITY_NONE );
You can’t perform that action at this time.
0 commit comments