Merge pull request #787 from MCelliotG/main

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-02-10 06:58:29 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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