diff --git a/app/gui/oven_control/config.cpp b/app/gui/oven_control/config.cpp index 718b576..eabf7bf 100644 --- a/app/gui/oven_control/config.cpp +++ b/app/gui/oven_control/config.cpp @@ -19,6 +19,7 @@ #include "config1digitsetdlg.h" #include "configdutywashdlg.h" #include "fileprocessor.h" +#include "backlight.h" using namespace Define; @@ -155,6 +156,7 @@ bool Config::loadConfig(){ void Config::applyConfig(){ watcher.setDelay(configlist.items.set_auto_darkness.d32); + Backlight::set(configlist.items.backlight.d32); } Define::config_item Config::getConfigValue(Define::ConfigType idx){