We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d4d5294 + dc812da commit e63af1aCopy full SHA for e63af1a
Firmware/language.h
@@ -29,6 +29,7 @@
29
#define ISTR(s) s
30
#define _i(s) _I(s)
31
#define _T(s) s
32
+#define _O(s) s
33
#else //(LANG_MODE == 0)
34
// section .loc_sec (originaly .progmem0) will be used for localized translated strings
35
#define PROGMEM_I2 __attribute__((section(".loc_sec")))
@@ -40,6 +41,7 @@
40
41
#define ISTR(s) "\xff\xff" s
42
#define _i(s) lang_get_translation(_I(s))
43
#define _T(s) lang_get_translation(s)
44
+#define _O(s) (s + 2)
45
#endif //(LANG_MODE == 0)
46
#define _N(s) (__extension__({static const char __c[] PROGMEM_N1 = s; &__c[0];}))
47
#define _n(s) _N(s)
0 commit comments