apconfig improvements

This commit is contained in:
Nic Limper
2023-05-25 09:22:48 +02:00
parent 92c8d6178d
commit f73ce60468
13 changed files with 149 additions and 75 deletions

View File

@@ -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;