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);