xiaoxiang781216 commented on code in PR #2800:
URL: https://github.com/apache/nuttx-apps/pull/2800#discussion_r1820613341
##########
nshlib/nsh_console.c:
##########
@@ -45,6 +45,9 @@
struct serialsave_s
{
+#ifdef CONFIG_NSH_ALTCONDEV
+ int cn_confd; /* Console I/O file descriptor */
Review Comment:
let's change to:
···
#ifdef CONFIG_NSH_ALTCONDEV
int cn_confd; /* Console I/O file descriptor */
#else
int cn_infd; /* Re-directed input file descriptor */
#endif
···
and remove line 53
--
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]