Fix bug in UTF-8 line buffer decoder

This commit is contained in:
Bodmer 2019-02-22 00:13:40 +00:00
parent 43862876a2
commit 46425b83bc
3 changed files with 3 additions and 3 deletions

View File

@ -4011,7 +4011,7 @@ uint16_t TFT_eSPI::decodeUTF8(uint8_t c)
*************************************************************************************x*/
uint16_t TFT_eSPI::decodeUTF8(uint8_t *buf, uint16_t *index, uint16_t remaining)
{
byte c = buf[(*index)++];
uint16_t c = buf[(*index)++];
//Serial.print("Byte from string = 0x"); Serial.println(c, HEX);
#ifdef DECODE_UTF8

View File

@ -1,6 +1,6 @@
{
"name": "TFT_eSPI",
"version": "1.4.7",
"version": "1.4.8",
"keywords": "tft, ePaper, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789",
"description": "A TFT and ePaper SPI graphics library for ESP8266 and ESP32",
"repository":

View File

@ -1,5 +1,5 @@
name=TFT_eSPI
version=1.4.7
version=1.4.8
author=Bodmer
maintainer=Bodmer
sentence=A fast TFT graphics library for ESP8266 and ESP32 processors for the Arduino IDE