From 7a7d6182635e8ccd1bafc858ff58ea79bf25619c Mon Sep 17 00:00:00 2001 From: melody Date: Wed, 27 Aug 2025 16:37:17 +0200 Subject: [PATCH 1/2] fix showCurrentValue --- main.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ino b/main.ino index ed48f6e..4ab958a 100644 --- a/main.ino +++ b/main.ino @@ -148,7 +148,7 @@ class showCurrentValue : public Element { tft.setTextSize(5); tft.setTextColor(PRIMARY_FOREGROUND_COLOUR); tft.setCursor(this->X + 1, this->Y + 1); - tft.print(this->data.getMaxDataPoint(), 1); + tft.print(this->data.getDataByIndex(0), 1); tft.print(this->data.getUnit()); }; }; From 28b9329b9f4fd7dd275c11fffbb0f12e083e85c0 Mon Sep 17 00:00:00 2001 From: melody Date: Wed, 27 Aug 2025 16:39:29 +0200 Subject: [PATCH 2/2] rename main.ino to code.ino --- main.ino => code.ino | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename main.ino => code.ino (100%) diff --git a/main.ino b/code.ino similarity index 100% rename from main.ino rename to code.ino