reflect bitrate change of uart in uart struct
This commit is contained in:
@@ -91,6 +91,7 @@ void uart_change_brr(struct stm_uart *uart, uint32_t brr)
|
||||
if (!uart || !uart->uart_dev)
|
||||
return;
|
||||
|
||||
uart->brr_val = brr;
|
||||
uart->uart_dev->BRR = brr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user