• C
    Implement Tx only Flush (#3433) · 7d2632c0
    chuck todd 提交于
    * add option to Flush() to only clear txQueue
    
    Add the option to cause Flush() to just wait for tx data to clear the tx fifo and uart, leave the rx queue and rx fifo as is.
    
    * support tx only flush()
    
    * support tx only Flush()
    
    * support txOnly for Flush()
    
    * compatibility to Stream()
    
    * compatibility for Stream()
    
    * default value error
    
    * default value error
    
    * Update esp32-hal-uart.h
    
    * Update esp32-hal-uart.c
    
    * Update HardwareSerial.cpp
    
    * sp
    
    * correctly implement flushTxOnly()
    7d2632c0
HardwareSerial.cpp 3.2 KB