diff --git a/src/lib/config.cpp b/src/lib/config.cpp index 67d520c..985d3a1 100644 --- a/src/lib/config.cpp +++ b/src/lib/config.cpp @@ -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; -}