xiaoxiang781216 commented on a change in pull request #2036:
URL: https://github.com/apache/incubator-nuttx/pull/2036#discussion_r508250374



##########
File path: drivers/serial/serial.c
##########
@@ -854,6 +854,16 @@ static ssize_t uart_read(FAR struct file *filep, FAR char 
*buffer, size_t buflen
           break;
         }
 
+      else if (filep->f_inode == 0)

Review comment:
       But, it depends on what the follow control will be used. If user enable 
the hardware RTS/CTS, the caller may block in write for a very long time.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to