From 1d21a9f130f5889d1956c6d28d9a9cd48aa536cd Mon Sep 17 00:00:00 2001 From: gurkerlbaron Date: Wed, 24 Feb 2021 15:28:56 +0100 Subject: [PATCH] Update r_sci_rx.c tx_idle check only valid for sync sending. This check prevented a write to async buffer during a transission in progress --- source/r_sci_rx/r_sci_rx_vx.xx/r_sci_rx/src/r_sci_rx.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/source/r_sci_rx/r_sci_rx_vx.xx/r_sci_rx/src/r_sci_rx.c b/source/r_sci_rx/r_sci_rx_vx.xx/r_sci_rx/src/r_sci_rx.c index e4d5e1cc..81f873ce 100644 --- a/source/r_sci_rx/r_sci_rx_vx.xx/r_sci_rx/src/r_sci_rx.c +++ b/source/r_sci_rx/r_sci_rx_vx.xx/r_sci_rx/src/r_sci_rx.c @@ -952,12 +952,7 @@ static sci_err_t sci_send_async_data(sci_hdl_t const hdl, sci_err_t err = SCI_SUCCESS; uint16_t cnt; byteq_err_t byteq_err = BYTEQ_ERR_QUEUE_FULL; - - if (true != hdl->tx_idle ) - { - return SCI_ERR_XCVR_BUSY; - } - + #if SCI_CFG_FIFO_INCLUDED if (true == hdl->fifo_ctrl) {