From 0fba1a529cfa1644b8e8352145e5258d8fbac413 Mon Sep 17 00:00:00 2001 From: Th-Be <3-thomas@users.noreply.localhost> Date: Fri, 2 Aug 2019 10:28:27 +0200 Subject: [PATCH] Aktualisieren src/main.cpp --- src/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index de52e98..cf45ef2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -376,18 +376,14 @@ void displayValues() { float lux; - if (vu_active) { + if (light_active) { lux = sensor_readings.lux; - } else if (!isnan(sensors_a4cf1211c3e4.lux)) { lux = sensors_a4cf1211c3e4.lux; - } else if (!isnan(sensors_246f28d1fa5c.lux)) { lux = sensors_246f28d1fa5c.lux; - } else if (!isnan(sensors_246f28d1a080.lux)) { lux = sensors_246f28d1a080.lux; - } else { lux = NAN;