mirror of
https://github.com/apache/nuttx.git
synced 2026-08-27 20:30:38 +00:00
Correct conditioinal compilation in ST7565 driver
This commit is contained in:
parent
426e425a55
commit
7e2aed942a
1 changed files with 2 additions and 2 deletions
|
|
@ -1017,7 +1017,7 @@ FAR struct lcd_dev_s *st7565_initialize(FAR struct st7565_lcd_s *lcd,
|
|||
|
||||
/* Follow NHD-C12864KGZ DISPLAY INITIALIZATION... */
|
||||
|
||||
#ifdef CONFIG_NHD_C12864KGZ
|
||||
#if defined(CONFIG_NHD_C12864KGZ)
|
||||
|
||||
(void)st7565_send_one_data(priv, ST7565_BIAS_1_9);
|
||||
|
||||
|
|
@ -1027,7 +1027,7 @@ FAR struct lcd_dev_s *st7565_initialize(FAR struct st7565_lcd_s *lcd,
|
|||
(void)st7565_send_one_data(priv, ST7565_POWERCTRL_INT);
|
||||
(void)st7565_send_one_data(priv, ST7565_SETSTARTLINE);
|
||||
|
||||
#elif CONFIG_ERC_12864_3
|
||||
#elif defined(CONFIG_ERC_12864_3)
|
||||
|
||||
(void)st7565_send_one_data(priv, ST7565_ADCNORMAL);
|
||||
(void)st7565_send_one_data(priv, ST7565_SETCOMREVERSE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue