Skip to content

Commit

Permalink
more compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
witnessmenow committed Oct 1, 2023
1 parent 15aa90d commit 1f1d045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpotifyDiyThing/displayCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 1f1d045

Please sign in to comment.