fix(firmware): fix build when using ALL_LANGUAGES option (#7212)
This commit is contained in:
@@ -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"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user