From 7ca5461c3374a5cc0c1201a814f9be1213d7eb58 Mon Sep 17 00:00:00 2001 From: leXorNet Date: Thu, 29 Feb 2024 00:19:49 +0100 Subject: [PATCH] Increased language count cap from 8 to 9 to support the latest language (#250) --- ESP32_AP-Flasher/src/language.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32_AP-Flasher/src/language.cpp b/ESP32_AP-Flasher/src/language.cpp index f8cd48f6..69d1c2ba 100644 --- a/ESP32_AP-Flasher/src/language.cpp +++ b/ESP32_AP-Flasher/src/language.cpp @@ -17,7 +17,7 @@ int currentLanguage = 0; void updateLanguageFromConfig() { int tempLang = config.language; - if (tempLang < 0 || tempLang > 8) { + if (tempLang < 0 || tempLang > 9) { Serial.println("Language not supported"); return; }