altos: Use TXE instead of TC for serial on STM32l
[fw/altos] / src / stm / ao_arch_funcs.h
index f1d17ed152a5a8e0aea983e3446dcc1018634b72..6fcfd5f85a1187e5e3018dd1827ef2e7e507acb4 100644 (file)
@@ -284,6 +284,8 @@ struct ao_stm_usart {
        struct ao_fifo          tx_fifo;
        struct stm_usart        *reg;
        uint8_t                 tx_started;
        struct ao_fifo          tx_fifo;
        struct stm_usart        *reg;
        uint8_t                 tx_started;
+       uint8_t                 tx_running;
+       uint8_t                 draining;
 };
 
 #if HAS_SERIAL_1
 };
 
 #if HAS_SERIAL_1