From 33231851fe384abc31e33ad453cf67a5c6c0d8cb Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Thu, 12 Dec 2024 02:29:04 +0100 Subject: [PATCH] firmware - add refreshSensors to systemconfig when configured --- Arduino/CanGrow/CanGrow_WebFunctions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Arduino/CanGrow/CanGrow_WebFunctions.h b/Arduino/CanGrow/CanGrow_WebFunctions.h index 8f91b96..e92f3b5 100644 --- a/Arduino/CanGrow/CanGrow_WebFunctions.h +++ b/Arduino/CanGrow/CanGrow_WebFunctions.h @@ -718,6 +718,8 @@ void WEBsystemSettings() { body += "' required>
\n"; if(configured == true) { + // refresh valSoilmoistureRaw to ensure we have fresh data + refreshSensors(); body += "Soilmoisture raw reading: "; body += valSoilmoistureRaw; body += "
\n";