forked from btclock/btclock_v3
Fixes for Rev. B black PCB
This commit is contained in:
parent
630943ec54
commit
5dd47c2275
8 changed files with 37 additions and 13 deletions
|
@ -705,7 +705,7 @@ void onApiSettingsGet(AsyncWebServerRequest *request)
|
|||
|
||||
#ifdef HAS_FRONTLIGHT
|
||||
root["hasFrontlight"] = true;
|
||||
root["flDisable"] = preferences.getBool("flDisable", DEFAULT_DISABLE_FL);
|
||||
root["flDisable"] = preferences.getBool("flDisable");
|
||||
root["flMaxBrightness"] = preferences.getUInt("flMaxBrightness", DEFAULT_FL_MAX_BRIGHTNESS);
|
||||
root["flAlwaysOn"] = preferences.getBool("flAlwaysOn", DEFAULT_FL_ALWAYS_ON);
|
||||
root["flEffectDelay"] = preferences.getUInt("flEffectDelay", DEFAULT_FL_EFFECT_DELAY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue