Fixed sensor values check
This commit is contained in:
parent
0366456b13
commit
3cea359c49
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ void setSensorData(float sensorValues[])
|
||||||
|
|
||||||
for (uint8_t i = 0; i < 5 and wuValidData == false; i++)
|
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
|
wuValidData = true; // at least one value is not zero, the data
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue