mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
Add apps/examples/nxhello -- a VERY simple graphics example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3797 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
46eedbd982
commit
8811e94938
1 changed files with 2 additions and 2 deletions
|
|
@ -678,7 +678,7 @@ void up_serialinit(void)
|
|||
/* Make sure that all UART interrupts are disabled */
|
||||
|
||||
ez80_disableuartint(TTYS0_DEV.priv);
|
||||
#ifdef TTYS1DEV
|
||||
#ifdef TTYS1_DEV
|
||||
ez80_disableuartint(TTYS1_DEV.priv);
|
||||
#endif
|
||||
|
||||
|
|
@ -729,7 +729,7 @@ void up_serialinit(void)
|
|||
(void)uart_register("/dev/console", &CONSOLE_DEV);
|
||||
#endif
|
||||
(void)uart_register("/dev/ttyS0", &TTYS0_DEV);
|
||||
#ifdef TTYS1DEV
|
||||
#ifdef TTYS1_DEV
|
||||
(void)uart_register("/dev/ttyS1", &TTYS1_DEV);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue