ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
2.02k stars 640 forks source link

expected initializer before 'DejaVu_Sans_Mono_12' #196

Closed mgx0 closed 6 years ago

mgx0 commented 6 years ago

Hi,

I'm getting an error while compiling, not sure why, everything looks okay to me:

In file included from sketch/DisplayUI.cpp:1:0:
DisplayUI.h:157: error: expected initializer before 'DejaVu_Sans_Mono_12'
 unsigned const uint8_t DejaVu_Sans_Mono_12[] PROGMEM = {
                        ^
sketch/DisplayUI.cpp: In member function 'void DisplayUI::setupDisplay()':
DisplayUI.cpp:18: error: 'DejaVu_Sans_Mono_12' was not declared in this scope
   display.setFont(DejaVu_Sans_Mono_12);
                   ^
exit status 1
expected initializer before 'DejaVu_Sans_Mono_12'
mgx0 commented 6 years ago

I'm sorry, wrong window, please delete