diff --git a/firmware/webUpdater.ino b/firmware/webUpdater.ino index 932c8b3..25af4b7 100644 --- a/firmware/webUpdater.ino +++ b/firmware/webUpdater.ino @@ -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 }