diff --git a/esp8266_deauther/DisplayUI.cpp b/esp8266_deauther/DisplayUI.cpp index 336da04..9b699df 100644 --- a/esp8266_deauther/DisplayUI.cpp +++ b/esp8266_deauther/DisplayUI.cpp @@ -8,6 +8,11 @@ void DisplayUI::setupDisplay() { // ===== adjustable ===== // // initialize display display.init(); + /* + In case of a compiler (conversion char/uint8_t) error, + make sure to have version 4 of the display library installed + https://github.com/ThingPulse/esp8266-oled-ssd1306/releases/tag/4.0.0 + */ display.setFont(DejaVu_Sans_Mono_12); display.setContrast(255); display.flipScreenVertically(); diff --git a/esp8266_deauther/DisplayUI.h b/esp8266_deauther/DisplayUI.h index 372c0d0..6f12cd5 100644 --- a/esp8266_deauther/DisplayUI.h +++ b/esp8266_deauther/DisplayUI.h @@ -156,7 +156,7 @@ class DisplayUI { // ===== FONT ===== // // Created by http://oleddisplay.squix.ch/ Consider a donation // In case of problems make sure that you are using the font file with the correct version! -const char DejaVu_Sans_Mono_12[] PROGMEM = { +const uint8_t DejaVu_Sans_Mono_12[] PROGMEM = { 0x07, // Width: 7 0x0F, // Height: 15 0x20, // First Char: 32