Check for exact display type instead of just height
This commit is contained in:
parent
38d92b9e78
commit
2723fd0799
1 changed files with 2 additions and 2 deletions
|
@ -322,8 +322,8 @@ static const unsigned char PROGMEM nuevi_logo_bmp[] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||||
};
|
};
|
||||||
|
|
||||||
#if (SSD1306_LCDHEIGHT != 64)
|
#ifndef SSD1306_128_64
|
||||||
#error("Height incorrect, please fix Adafruit_SSD1306.h!");
|
#error("Incorrect display type, please fix Adafruit_SSD1306.h!");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue