|
@ -376,18 +376,14 @@ void displayValues() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float lux; |
|
|
float lux; |
|
|
if (vu_active) { |
|
|
if (light_active) { |
|
|
lux = sensor_readings.lux; |
|
|
lux = sensor_readings.lux; |
|
|
|
|
|
|
|
|
} else if (!isnan(sensors_a4cf1211c3e4.lux)) { |
|
|
} else if (!isnan(sensors_a4cf1211c3e4.lux)) { |
|
|
lux = sensors_a4cf1211c3e4.lux; |
|
|
lux = sensors_a4cf1211c3e4.lux; |
|
|
|
|
|
|
|
|
} else if (!isnan(sensors_246f28d1fa5c.lux)) { |
|
|
} else if (!isnan(sensors_246f28d1fa5c.lux)) { |
|
|
lux = sensors_246f28d1fa5c.lux; |
|
|
lux = sensors_246f28d1fa5c.lux; |
|
|
|
|
|
|
|
|
} else if (!isnan(sensors_246f28d1a080.lux)) { |
|
|
} else if (!isnan(sensors_246f28d1a080.lux)) { |
|
|
lux = sensors_246f28d1a080.lux; |
|
|
lux = sensors_246f28d1a080.lux; |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
lux = NAN; |
|
|
lux = NAN; |
|
|
|
|
|
|
|
|