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