mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
apps/nshlib: Add support to use SLCD as NSH Console
This commit is contained in:

committed by
Gregory Nutt

parent
521052ae1f
commit
c21d640eaf
@@ -47,7 +47,8 @@
|
||||
#include "nsh.h"
|
||||
#include "nsh_console.h"
|
||||
|
||||
#if !defined(HAVE_USB_CONSOLE) && !defined(HAVE_USB_KEYBOARD)
|
||||
#if !defined(HAVE_USB_CONSOLE) && !defined(HAVE_USB_KEYBOARD) && \
|
||||
!defined(HAVE_SLCD_CONSOLE)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -117,4 +118,4 @@ int nsh_consolemain(int argc, char *argv[])
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* !HAVE_USB_CONSOLE && !HAVE_USB_KEYBOARD */
|
||||
#endif /* !HAVE_USB_CONSOLE && !HAVE_USB_KEYBOARD !HAVE_SLCD_CONSOLE */
|
||||
|
Reference in New Issue
Block a user