From 113d98bf3c55fcf96db7713960c6722aaa969595 Mon Sep 17 00:00:00 2001 From: DanielR92 Date: Sun, 27 Jul 2025 17:21:46 +0200 Subject: [PATCH] wrong if statement --- ESP32-DIV/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32-DIV/utils.cpp b/ESP32-DIV/utils.cpp index abdd021..1902a6e 100644 --- a/ESP32-DIV/utils.cpp +++ b/ESP32-DIV/utils.cpp @@ -220,7 +220,7 @@ void drawStatusBar(float batteryVoltage, bool forceUpdate) { } } - if (internalTemp = 53.33) { + if (internalTemp == 53.33) { tft.drawBitmap(203, y - 3, bitmap_icon_temp, 16, 16, TFT_YELLOW); } else if (internalTemp > 55) { tft.drawBitmap(203, y - 3, bitmap_icon_temp, 16, 16, TFT_RED);