Skip to content

Commit 46425b8

Browse files
committed
Fix bug in UTF-8 line buffer decoder
1 parent 4386287 commit 46425b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

TFT_eSPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4011,7 +4011,7 @@ uint16_t TFT_eSPI::decodeUTF8(uint8_t c)
40114011
*************************************************************************************x*/
40124012
uint16_t TFT_eSPI::decodeUTF8(uint8_t *buf, uint16_t *index, uint16_t remaining)
40134013
{
4014-
byte c = buf[(*index)++];
4014+
uint16_t c = buf[(*index)++];
40154015
//Serial.print("Byte from string = 0x"); Serial.println(c, HEX);
40164016

40174017
#ifdef DECODE_UTF8

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "TFT_eSPI",
3-
"version": "1.4.7",
3+
"version": "1.4.8",
44
"keywords": "tft, ePaper, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789",
55
"description": "A TFT and ePaper SPI graphics library for ESP8266 and ESP32",
66
"repository":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=TFT_eSPI
2-
version=1.4.7
2+
version=1.4.8
33
author=Bodmer
44
maintainer=Bodmer
55
sentence=A fast TFT graphics library for ESP8266 and ESP32 processors for the Arduino IDE

0 commit comments

Comments
 (0)