feat: enable Companion simulator to switch UI language at runtime (#6510)

This commit is contained in:
philmoz
2025-11-03 09:57:09 +10:00
committed by GitHub
parent 8f96ec079b
commit 1931514140
318 changed files with 269720 additions and 389341 deletions
+10
View File
@@ -27,6 +27,16 @@
#include "memory_sections.h"
#if !defined(ALL_LANGS) || defined(BOOT)
typedef const char* STR_TYP;
#define STR_DEF(x) x
#define STR_VAL(x) x
#else
typedef const char* (*STR_TYP)();
#define STR_DEF(x) x##_FN
#define STR_VAL(x) x()
#endif
#if !defined(M_PI)
#define M_PI 3.14159265358979323846 // pi
#define M_PI_2 1.57079632679489661923 // pi/2