Fixed warnings

This commit is contained in:
Melissa LeBlanc-Williams 2019-12-16 18:56:38 -08:00
parent 282a1124fe
commit 22d33c5638
3 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ void setup(void) {
// Load full-screen BMP file 'tricolor-blinka.bmp' at position (0,0) (top left).
// Notice the 'reader' object performs this, with 'epd' as an argument.
Serial.print(F("Loading tricolor-blinka.bmp to canvas..."));
stat = reader.loadBMP("/tricolor-blinka.bmp", img);
stat = reader.loadBMP((char *)"/tricolor-blinka.bmp", img);
reader.printStatus(stat); // How'd we do?
Serial.print(F("Drawing canvas to EPD..."));

View file

@ -13,7 +13,7 @@
// Comment out the next line to load from SPI/QSPI flash instead of SD card:
#define USE_SD_CARD
#if defefined(ESP8266)
#if defined(ESP8266)
#define SD_CS 2
#define SRAM_CS 16
#define EPD_CS 0

View file

@ -67,7 +67,7 @@ void setup(void) {
// Load full-screen BMP file 'tricolor-blinka.bmp' at position (0,0) (top left).
// Notice the 'reader' object performs this, with 'epd' as an argument.
Serial.print(F("Loading tricolor-blinka.bmp to canvas..."));
stat = reader.loadBMP("/tricolor-blinka.bmp", img);
stat = reader.loadBMP((char *)"/tricolor-blinka.bmp", img);
reader.printStatus(stat); // How'd we do?
Serial.print(F("Drawing canvas to EPD..."));