From f6f65ecb8472717f5b3e51abbb5053a2ccfe12b7 Mon Sep 17 00:00:00 2001 From: Laurence Bank Date: Tue, 9 Jul 2024 17:11:23 +0100 Subject: [PATCH] final fix for repeat count --- library.properties | 2 +- src/AnimatedGIF.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.properties b/library.properties index 2d89760..cbe7932 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AnimatedGIF -version=2.1.0 +version=2.1.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 85743d9..e60ee53 100644 --- a/src/AnimatedGIF.h +++ b/src/AnimatedGIF.h @@ -170,7 +170,7 @@ typedef struct gif_image_tag uint16_t iBpp; int16_t iError; // last error uint16_t iFrameDelay; // delay in milliseconds for this frame - uint16_t iRepeatCount; // NETSCAPE animation repeat count. 0=forever + int16_t iRepeatCount; // NETSCAPE animation repeat count. 0=forever uint16_t iXCount, iYCount; // decoding position in image (countdown values) int iLZWOff; // current LZW data offset int iLZWSize; // current quantity of data in the LZW buffer