mirror of
https://git.btclock.dev/btclock/btclock_v3
synced 2025-06-06 01:02:05 +00:00
Bugfix for light sensor
This commit is contained in:
parent
fb67893f85
commit
ac02e1470d
@ -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…
x
Reference in New Issue
Block a user