• Damien George's avatar
    stmhal: Make uart.write() function correctly for timeout=0. · 0d9b4507
    Damien George authored
    In non-blocking mode (timeout=0), uart.write() can now transmit all of its
    data without raising an exception.  uart.read() also works correctly in
    this mode.
    As part of this patch, timout_char now has a minimum value which is long
    enough to transfer 1 character.
    Addresses issue #1533.
uart.c 31.7 KB