diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:20:46 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-09-04 18:20:46 +0200 |
commit | 4c96cd2d5f7cb8de7d48b5dbd728af7fda572d9d (patch) | |
tree | 8a744656cd26998781dc1a6699b826ff9a25e5fe /fw/fe310/eos/soc/uart.h | |
parent | 8f47a50abe4cbae953724ea4769fbd629ee9b801 (diff) |
uart fixed
Diffstat (limited to 'fw/fe310/eos/soc/uart.h')
-rw-r--r-- | fw/fe310/eos/soc/uart.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/fe310/eos/soc/uart.h b/fw/fe310/eos/soc/uart.h index caaf6c6..41329fb 100644 --- a/fw/fe310/eos/soc/uart.h +++ b/fw/fe310/eos/soc/uart.h @@ -22,4 +22,5 @@ void eos_uart_txwm_clear(void); void eos_uart_rxwm_set(uint8_t wm); void eos_uart_rxwm_clear(void); int eos_uart_putc(int c, int block); -int eos_uart_getc(int block);
\ No newline at end of file +int eos_uart_getc(int block); +void eos_uart_flush_rx(void); |