summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-06 08:28:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-06 08:28:49 -0600
commita04430f5dfc0f3f7f29664c2a77b12c3673527ed (patch)
treec84a54b2ef46267e486492adaa023efe577f8bf4 /nuttx/arch/sh
parentdb4527cdbcc844d9ab2f9733d7e72b138d5fa611 (diff)
downloadnuttx-a04430f5dfc0f3f7f29664c2a77b12c3673527ed.tar.gz
nuttx-a04430f5dfc0f3f7f29664c2a77b12c3673527ed.tar.bz2
nuttx-a04430f5dfc0f3f7f29664c2a77b12c3673527ed.zip
configs/skp16c26/ostest: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r--nuttx/arch/sh/src/common/up_internal.h2
-rw-r--r--nuttx/arch/sh/src/m16c/m16c_lowputc.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h
index cba4715bd..9734ec51a 100644
--- a/nuttx/arch/sh/src/common/up_internal.h
+++ b/nuttx/arch/sh/src/common/up_internal.h
@@ -230,7 +230,7 @@ extern void board_led_off(int led);
/* Defined in board/up_lcd.c */
-#ifdef CONFIG_ARCH_LCD
+#ifdef CONFIG_LCD_CONSOLE
extern void up_lcdinit(void);
extern void up_lcdputc(char ch);
#else
diff --git a/nuttx/arch/sh/src/m16c/m16c_lowputc.c b/nuttx/arch/sh/src/m16c/m16c_lowputc.c
index 8d55d361f..b88bc0baa 100644
--- a/nuttx/arch/sh/src/m16c/m16c_lowputc.c
+++ b/nuttx/arch/sh/src/m16c/m16c_lowputc.c
@@ -333,11 +333,9 @@ void up_lowsetup(void)
up_lowserialsetup()
#endif
- /* The LCD is initialized here to because it may be that the LCD is
- * used for console output.
- */
+ /* The LCD is initialized here if the LCD is used for console output. */
-#ifdef CONFIG_ARCH_LCD
+#ifdef CONFIG_LCD_CONSOLE
up_lcdinit();
#endif
}