• Earle F. Philhower, III's avatar
    Fix hang on Serial overflow, PIOSerial stop bit handling (#401) · 3a2a7f8c
    Earle F. Philhower, III authored
    When the Serial software FIFOs overeflowed, the IRQ handler would not
    read any more data from the hardware FIFOs.  This would cause the
    IRQ handler to be continually called as soon as it exited since the
    HW FIFOS were not empty.
    
    Now always read every available HW FIFO entry and throw out any that
    don't fit in the SW FIFO.
    
    Also fix a too long by half stop bit timing in the PIOSerial receiver.
    3a2a7f8c
SerialPIO.cpp 10 KB