Hi,
you need to insert a "}" between the two #endif in lcd.c:
|
void lcd_display() { |
|
#if defined SSD1306 |
|
lcd_gotoxy(0,0); |
|
lcd_data(&displayBuffer[0][0], DISPLAY_WIDTH*DISPLAY_HEIGHT/8); |
|
#elif defined SH1106 |
|
for (uint8_t i = 0; i < DISPLAY_HEIGHT/8; i++){ |
|
lcd_gotoxy(0,i); |
|
lcd_data(displayBuffer[i], sizeof(displayBuffer[i])); |
|
} |
|
#endif |
|
#endif |
Without this "}" the function lcd_display isn't complete and the compiling run will fail (in graphicmode).
Regards,
Thomas