Bugfix for light sensor

This commit is contained in:
Djuri Baars 2024-06-29 02:33:01 +02:00
parent fb67893f85
commit ac02e1470d

View file

@ -752,6 +752,10 @@ void setupFrontlight()
float getLightLevel() {
return bh1750.readLightLevel();
}
bool hasLightLevel() {
return hasLuxSensor;
}
#endif
String getHwRev()
@ -785,7 +789,4 @@ String getFsRev()
return ret;
}
bool hasLightLevel() {
return hasLuxSensor;
}