Compare commits
No commits in common. "71e2073a76ddd50eb57ec27645769ed6fbbbfb71" and "1ef77133519f83670a45193cf8de2e4ccfd7f30e" have entirely different histories.
71e2073a76
...
1ef7713351
@ -48,8 +48,6 @@ struct stm_uart {
|
||||
|
||||
int uart_init(struct stm_uart *uart);
|
||||
|
||||
void uart_change_brr(struct stm_uart *uart, uint32_t brr);
|
||||
|
||||
void uart_disable(struct stm_uart *uart);
|
||||
|
||||
void uart_send_char(struct stm_uart *uart, char c);
|
||||
|
@ -86,15 +86,6 @@ int uart_init(struct stm_uart *uart)
|
||||
return 0;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
void uart_disable(struct stm_uart *uart)
|
||||
{
|
||||
if (!uart)
|
||||
|
Loading…
x
Reference in New Issue
Block a user