Gif Error message

This commit is contained in:
charles 2023-08-18 17:22:31 -04:00
parent 1291839283
commit 231e81aeb7

View File

@ -89,7 +89,7 @@ void playGif(AnimatedGIF *gif, int screenIndex)
gif->playFrame(false, NULL);
}
if(res == -1) {
Serial.printf("Gif Error = %d \n",gif->getLastError());
Serial.printf("Gif Error = %d on screen %d\n",gif->getLastError(),screenIndex);
}
tft.endWrite();
digitalWrite(CS_PINS[screenIndex], HIGH); // Deselect the display