removed the DMA timeout message
This commit is contained in:
@@ -78,7 +78,6 @@ void UUSART_Tick(Unit *unit)
|
|||||||
if (priv->rx_last_dmapos == priv->dma_rx->CNDTR) {
|
if (priv->rx_last_dmapos == priv->dma_rx->CNDTR) {
|
||||||
uint16_t endpos = (uint16_t) (UUSART_RXBUF_LEN - priv->rx_last_dmapos);
|
uint16_t endpos = (uint16_t) (UUSART_RXBUF_LEN - priv->rx_last_dmapos);
|
||||||
if (endpos != priv->rx_buf_readpos) {
|
if (endpos != priv->rx_buf_readpos) {
|
||||||
dbg("DMA timeout");
|
|
||||||
UUSART_DMA_HandleRxFromIRQ(unit, endpos);
|
UUSART_DMA_HandleRxFromIRQ(unit, endpos);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user