fix(firmware): fix build when using ALL_LANGUAGES option (#7212)

This commit is contained in:
philmoz
2026-03-27 21:00:17 +10:00
committed by GitHub
parent 32bc992377
commit d07ebe7717
23 changed files with 61 additions and 61 deletions
+3 -3
View File
@@ -26,9 +26,9 @@
#include "translations/i18n/es.h"
// Static string
#define STR(x) static const char LNG_STR_##x[] = TR_##x;
#define STR(x) static const char LNG_STR_##x[] __FLASH = TR_##x;
// Static string array
#define STRARRAY(x) static const char* const LNG_STR_##x[] = { TR_##x };
#define STRARRAY(x) static const char* const LNG_STR_##x[] __FLASH = { TR_##x };
#include "translations/string_list.h"
@@ -40,6 +40,6 @@
// Static string array
#define STRARRAY(x) LNG_STR_##x,
const LangStrings esLangStrings = {
const LangStrings esLangStrings __FLASH = {
#include "translations/string_list.h"
};