mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-22 18:06:40 +01:00
apconfig improvements
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
int currentLanguage = defaultLanguage;
|
||||
|
||||
void updateLanguageFromConfig() {
|
||||
int tempLang = APconfig["language"].as<int>();
|
||||
int tempLang = config.language;
|
||||
if (tempLang < 0 || tempLang >= sizeof(languageList)) {
|
||||
Serial.println("Language not supported");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user