Fixed sensor values check

This commit is contained in:
Kai Lauterbach 2022-08-29 12:42:49 +02:00
parent 0366456b13
commit 3cea359c49

View file

@ -68,7 +68,7 @@ void setSensorData(float sensorValues[])
for (uint8_t i = 0; i < 5 and wuValidData == false; i++)
{
if (_webUpdater_sensValues[i] != 0)
if (sensorValues[i] != 0)
{
wuValidData = true; // at least one value is not zero, the data
}