mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
[stm32] fix init for UART6
This commit is contained in:
@@ -475,7 +475,7 @@ void uart6_init( void ) {
|
||||
/* Configure USART Tx,Rx and hardware flow control*/
|
||||
uart_periph_set_mode(&uart6, USE_UART6_TX, USE_UART6_RX, UART6_HW_FLOW_CONTROL);
|
||||
|
||||
uart_periph_set_baudrate(&uart6, UART6_BAUD, FALSE);
|
||||
uart_periph_set_baudrate(&uart6, UART6_BAUD);
|
||||
}
|
||||
|
||||
void usart6_isr(void) { usart_isr(&uart6); }
|
||||
|
||||
Reference in New Issue
Block a user