mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -105,7 +105,8 @@ int nsh_consolemain(int argc, char *argv[])
|
||||
*/
|
||||
|
||||
#ifdef HAVE_USB_CONSOLE
|
||||
DEBUGASSERT(nsh_usbconsole() == OK);
|
||||
ret = nsh_usbconsole();
|
||||
DEBUGASSERT(ret == OK);
|
||||
#endif
|
||||
|
||||
/* Present a greeting */
|
||||
|
Reference in New Issue
Block a user