1
NXPTM M522XX, KINETIS and i.MX RT / Re: UART XON/XOFF
« on: August 29, 2008, 11:48:46 PM »
I don't know if the behavior is correct, but I changed:
Code: [Select]
else if ((XON_CODE == ch) && (tx_ctl->ucState & TX_WAIT)) {
tx_ctl->ucState &= ~TX_WAIT; // unblock transmitter
send_next_byte(Channel, tx_ctl); // restart transmission, if paused
return;
}
toCode: [Select]
else if(XON_CODE == ch) {
if (tx_ctl->ucState & TX_WAIT) {
tx_ctl->ucState &= ~TX_WAIT; // unblock transmitter
send_next_byte(Channel, tx_ctl); // restart transmission, if paused
}
return;
}
in fnSciRxByte() in Tty_drv.c and it fixed my issue.