From 7d02ae84e82769f8dca4594a3dbb04d0a4d40262 Mon Sep 17 00:00:00 2001 From: Laurence Bank Date: Sun, 6 Jun 2021 19:13:51 -0400 Subject: [PATCH] fix for backward compat --- library.properties | 2 +- src/AnimatedGIF.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 263c027..6d2f7c3 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AnimatedGIF -version=1.4.0 +version=1.4.1 author=Larry Bank maintainer=Larry Bank sentence=Universal GIF player for MCUs with at least 32K of RAM. diff --git a/src/AnimatedGIF.h b/src/AnimatedGIF.h index 6e9c469..04d4bd2 100644 --- a/src/AnimatedGIF.h +++ b/src/AnimatedGIF.h @@ -165,6 +165,7 @@ class AnimatedGIF void close(); void reset(); void begin(unsigned char ucPaletteType = GIF_PALETTE_RGB565_LE); + void begin(int iEndian, unsigned char ucPaletteType) { begin(ucPaletteType); }; int playFrame(bool bSync, int *delayMilliseconds, void *pUser = NULL); int getCanvasWidth(); int allocFrameBuf(GIF_ALLOC_CALLBACK *pfnAlloc);