Browse Source

Aktualisieren src/main.cpp

ir
Th-Be 5 years ago
parent
commit
0fba1a529c
  1. 6
      src/main.cpp

6
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;

Loading…
Cancel
Save