diff --git a/SpotifyDiyThing/displayCode.h b/SpotifyDiyThing/displayCode.h index 536f96d..28dcc6f 100644 --- a/SpotifyDiyThing/displayCode.h +++ b/SpotifyDiyThing/displayCode.h @@ -4,7 +4,7 @@ *******************************************************************/ // file name for where to save the image. -const char* ALBUM_ART = "/album.jpg" +const char* ALBUM_ART = "/album.jpg"; int imageHeight = 150; int imageWidth = 150; @@ -57,7 +57,7 @@ int32_t mySeek(JPEGFILE *handle, int32_t position) { return myfile.seek(position); } -int displayImage(char *imageFileUri) { +int displayImage(const char *imageFileUri) { unsigned long lTime = millis(); lTime = millis(); jpeg.open((const char *) imageFileUri, myOpen, myClose, myRead, mySeek, JPEGDraw);