use en only in debug

This commit is contained in:
Proddy
2023-02-21 12:49:57 +01:00
parent 8c89fdec95
commit 993724d945
7 changed files with 929 additions and 928 deletions

View File

@@ -646,7 +646,7 @@ bool Helpers::value2enum(const char * value, uint8_t & value_ui, const char * co
std::string s_on = Helpers::translated_word(FL_(on));
std::string s_off = Helpers::translated_word(FL_(off));
// stops when a nullptr is found, which is the end delimeter of a MAKE_PSTR_LIST()
// stops when a nullptr is found, which is the end delimeter of a MAKE_TRANSLATION()
// could use count_items() to avoid buffer over-run but this works
for (value_ui = 0; strs[value_ui]; value_ui++) {
std::string enum_str = toLower((strs[value_ui]));