From 5d66c0686335bb55e38146c96b65bf4a3f6067b4 Mon Sep 17 00:00:00 2001 From: MCelliotG Date: Mon, 10 Feb 2025 05:45:17 +0200 Subject: [PATCH 1/2] Fix glitch with low Wifi and Wifi signal loss --- TEF6686_ESP32.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 7aaf766..61e52ae 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -4113,8 +4113,10 @@ void ShowRSSI() { if (wifi) rssi = WiFi.RSSI(); else rssi = 0; if (rssiold != rssi) { rssiold = rssi; - if (rssi == 0) { + if (!wifi && batterydetect) { tft.drawBitmap(282, 3, WiFi4, 30, 25, BackgroundColor); + } else if (rssi == 0) { + tft.drawBitmap(282, 3, WiFi4, 30, 25, GreyoutColor); } else if (rssi > -50 && rssi < 0) { tft.drawBitmap(282, 3, WiFi4, 30, 25, WifiColorHigh); } else if (rssi > -60) { From aeeae80a2b52fbaa7b0b25fe20fa0e501dcbe989 Mon Sep 17 00:00:00 2001 From: MCelliotG Date: Mon, 10 Feb 2025 05:45:43 +0200 Subject: [PATCH 2/2] Fix glitch with low Wifi and Wifi signal loss --- src/constants.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constants.h b/src/constants.h index b196901..c96f5d6 100644 --- a/src/constants.h +++ b/src/constants.h @@ -590,7 +590,8 @@ static const uint8_t WiFi1[] PROGMEM = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x0f, 0xc0, 0x00, - 0x00, 0x0f, 0xc0, 0x00, + 0x00, 0x1f, 0xe0, 0x00, + 0x00, 0x1f, 0xe0, 0x00, 0x00, 0x0f, 0x80, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00