LilyGO / TTGO-LORA32

ESP32-TTGO-T3
326 stars 100 forks source link

invalid conversion from 'const char*' to 'const uint8_t* #12

Closed haaslukas closed 6 years ago

haaslukas commented 6 years ago

Just in case anyone else is getting the error OLED_LoRa_Sender:24: error: invalid conversion from 'char*' to 'const uint8_t* {aka const unsigned char*}' [-fpermissive] I was using the newest ESP8266 and ESP32 Oled Driver for SSD1306 display (Version 4.0). In this case you have to follow the upgrade process here

You have to change the data type for the binary resource in the images.h file from static char logo_bits[] = { to static uint8_t logo_bits[] = { Then it compiles without any error