BUG - Serial 3 hardware flow control

mulsamer

New member
Hi, I did run into a bug after enabling hardware flow control on serial 3. The problem is that the high watermark test is implemented incorrectly in the interrupt handler:

Code:
void uart2_status_isr(void)
{
  ...
                    if (rts_pin) {
			int avail;
			<< tail = tx_buffer_tail; <- wrong
                        >> tail = rx_buffer_tail; <- correct
  ...

There shouldn't be any test code required to reproduce, the issue is obvious.

Thanks,
Marius
 
Back
Top