Bugfix for light sensor
This commit is contained in:
parent
fb67893f85
commit
ac02e1470d
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue