lexus2k / ssd1306

Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
MIT License
664 stars 127 forks source link

Calling ssd1306_setMode on ssd1306_128x32 display will hang the program #57

Closed AuthenticOleksiis closed 5 years ago

AuthenticOleksiis commented 5 years ago

https://github.com/lexus2k/ssd1306/blob/7f8bb7d4f391b27e2b64d6a98d6c15c6bcf48041/src/lcd/oled_ssd1306.c#L233

Has to be ssd1306_lcd.set_mode = ssd1306_setMode_int;

lexus2k commented 5 years ago

Hello, thank you for the finding. Your fix is integrated on master branch