Sylaina/oled-display

Missing } in lcd.c

thecky opened this issue · 1 comments

Hi,

you need to insert a "}" between the two #endif in lcd.c:

oled-display/lcd.c

Lines 353 to 363 in 08ceb8e

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

It is fixed. Thanks for tipp