acassis commented on a change in pull request #2736: URL: https://github.com/apache/incubator-nuttx/pull/2736#discussion_r564660809
########## File path: drivers/lwl_console.c ########## @@ -235,16 +242,17 @@ static int lwlconsole_ioctl(struct file *filep, int cmd, unsigned long arg) * Name: lwlconsole_read ****************************************************************************/ -static ssize_t lwlconsole_read(struct file *filep, char *buffer, +static ssize_t lwlconsole_read(FAR struct file *filep, FAR char *buffer, size_t buflen) { - if (buflen == 0 || !linkactive()) + if (buflen == 0) { return 0; } - while (!read8bits(LWL_PORT_CONSOLE, (uint8_t *) buffer)) + if (!read8bits(LWL_PORT_CONSOLE, (uint8_t *) buffer)) Review comment: done ---------------------------------------------------------------- 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