compilation error fix: pin for LCD brightness
This commit is contained in:
parent
83510ed489
commit
af348aa8ba
1 changed files with 2 additions and 2 deletions
|
@ -991,9 +991,9 @@ void setup()
|
|||
|
||||
ultralcd_init();
|
||||
|
||||
#if (LCD_BL_PIN != -1)
|
||||
#if (LCD_BL_PIN != -1) && defined (LCD_BL_PIN)
|
||||
analogWrite(LCD_BL_PIN, 255); //set full brightnes
|
||||
#endif //(LCD_BL_PIN != -1)
|
||||
#endif //(LCD_BL_PIN != -1) && defined (LCD_BL_PIN)
|
||||
|
||||
spi_init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue