• robert-hh's avatar
    stm32/machine_uart: Implement uart.flush() and uart.txdone(). · 8ea6fefc
    robert-hh authored
    Since uart.write() of the STM32 port waits until all bytes have
    been sent, uart.flush() and uart.txdone() are implemented as empty
    functions to provide API consistency.
    
    uart.flush()
    
    flush() will always return immediately.
    
    ret = uart.txdone()
    
    uart.txdone() will always return True.
    8ea6fefc
machine_uart.c 24.1 KB