summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/src/up_ili93xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/shenzhou/src/up_ili93xx.c')
-rw-r--r--nuttx/configs/shenzhou/src/up_ili93xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/shenzhou/src/up_ili93xx.c b/nuttx/configs/shenzhou/src/up_ili93xx.c
index cfe27cd95..84395b6b7 100644
--- a/nuttx/configs/shenzhou/src/up_ili93xx.c
+++ b/nuttx/configs/shenzhou/src/up_ili93xx.c
@@ -1197,14 +1197,14 @@ static int stm32_setpower(struct lcd_dev_s *dev, int power)
else
#endif
#ifndef CONFIG_STM32_ILI9320_DISABLE
- if (priv->type == LCD_TYPE_ILI9300)
+ if (priv->type == LCD_TYPE_ILI9320)
{
stm32_writereg(priv, LCD_REG_7, 0x0173);
}
else
#endif
#ifndef CONFIG_STM32_ILI9321_DISABLE
- if (priv->type == LCD_TYPE_ILI9300)
+ if (priv->type == LCD_TYPE_ILI9321)
{
stm32_writereg(priv, LCD_REG_7, 0x0173);
}