More STM3240G-EVAL LCD updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4665 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
6c1bb0fab4
commit
38648921fd
@ -1259,6 +1259,12 @@ CONFIG_LCD_LANDSCAPE=n
|
||||
CONFIG_LCD_PORTRAIT=n
|
||||
CONFIG_LCD_RPORTRAIT=y
|
||||
|
||||
#
|
||||
# STM3240G-EVAL specific LCD settings
|
||||
#
|
||||
CONFIG_STM32_ILI9320_DISABLE=n
|
||||
CONFIG_STM32_ILI9325_DISABLE=n
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
#
|
||||
|
@ -1259,6 +1259,13 @@ CONFIG_LCD_LANDSCAPE=y
|
||||
CONFIG_LCD_PORTRAIT=n
|
||||
CONFIG_LCD_RPORTRAIT=n
|
||||
|
||||
|
||||
#
|
||||
# STM3240G-EVAL specific LCD settings
|
||||
#
|
||||
CONFIG_STM32_ILI9320_DISABLE=n
|
||||
CONFIG_STM32_ILI9325_DISABLE=n
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
#
|
||||
|
@ -914,7 +914,7 @@ static inline void stm3240g_lcdinitialize(void)
|
||||
{
|
||||
uint16_t id;
|
||||
|
||||
/* Check if the LCD is xxx Controller (or the compatible) */
|
||||
/* Check LCD ID */
|
||||
|
||||
id = stm3240g_readreg(LCD_REG_0);
|
||||
lcddbg("LCD ID: %04x\n", id);
|
||||
@ -1197,6 +1197,6 @@ void stm3240g_lcdclear(uint16_t color)
|
||||
for (i = 0; i < STM3240G_XRES * STM3240G_YRES; i++)
|
||||
{
|
||||
LCD->value = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user