xiaoxiang781216 commented on code in PR #20894:
URL: https://github.com/apache/nuttx/pull/20894#discussion_r4356644786


##########
arch/arm/src/mcx-nxxx/nxxx_lpuart.c:
##########
@@ -2236,7 +2236,7 @@ static void nxxx_dma_send(struct uart_dev_s *dev)
 #if CONFIG_NXXX_EDMA_NTCD > 1
   /* Is this a split transfer? */
 
-  if (dev->dmatx.nbuffer != NULL && dev->dmatx.nlength > 0)
+  if (dev->dmatx.nbuffer)

Review Comment:
   why not modify the original patch directly instead reverting



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to