mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
apps/nshlib: Change the way SLCD is supported. Works better
This commit is contained in:

committed by
Gregory Nutt

parent
2b8685b63f
commit
368f14852e
@@ -293,15 +293,16 @@
|
||||
|
||||
#undef HAVE_SLCD_CONSOLE
|
||||
|
||||
/* Check if SLCD is configured as alternative console */
|
||||
/* Check if SLCD is configured as console */
|
||||
|
||||
#if defined(CONFIG_SLCD) && defined(CONFIG_NSH_ALTCONDEV)
|
||||
#if defined(CONFIG_SLCD) && defined(CONFIG_NSH_SLCDCONSOLE)
|
||||
|
||||
# define HAVE_SLCD_CONSOLE 1
|
||||
|
||||
# ifndef CONFIG_NSH_CONDEV
|
||||
# define CONFIG_NSH_CONDEV "/dev/slcd0"
|
||||
# ifndef CONFIG_NSH_SLCDCONDEV
|
||||
# define CONFIG_NSH_SLCDCONDEV "/dev/slcd0"
|
||||
# endif
|
||||
|
||||
#endif /* HAVE_SLCD_CONSOLE */
|
||||
|
||||
/* USB trace settings */
|
||||
|
Reference in New Issue
Block a user