summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h b/nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h
index e17a8cc53..d16673eeb 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_lcd.h
@@ -59,13 +59,13 @@
/* LCD refresh rate */
#ifndef CONFIG_LPC17_LCD_REFRESH_FREQ
-# define CONFIG_LPC17_LCD_REFRESH_FREQ (50) /* Hz */
+# define CONFIG_LPC17_LCD_REFRESH_FREQ (50) /* Hz */
#endif
/* Bits per pixel */
#ifndef CONFIG_LPC17_LCD_BPP
-# define CONFIG_LPC17_LCD_BPP 16 /* Bytes per pixel */
+# define CONFIG_LPC17_LCD_BPP 16 /* Bits per pixel */
#endif
/* Color format */
@@ -107,7 +107,7 @@
# define CONFIG_LPC17_LCD_VHEIGHT 272 /* Height in rows */
#endif
-#define CONFIG_LPC17_LCD_VPULSE
+#ifndef CONFIG_LPC17_LCD_VPULSE
# define CONFIG_LPC17_LCD_VPULSE 2
#endif