We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60755cc commit 8724b43Copy full SHA for 8724b43
1 file changed
supervisor/shared/translate/translate_impl.h
@@ -50,7 +50,7 @@ __attribute__((always_inline))
50
#endif
51
// Prevent instrumenting this because that disables the inlining we rely of for code size
52
// optimization.
53
-__attribute__((no_instrument_function)) mp_rom_error_text_t MP_ERROR_TEXT(const char *original) {
+__attribute__((no_instrument_function)) mp_rom_error_text_t translate(const char *original) {
54
#ifndef NO_QSTR
55
#define QDEF(id, hash, len, str)
56
#define TRANSLATION(english_id, number) if (strcmp(original, english_id) == 0) { return (mp_rom_error_text_t)&translation##number; } else
0 commit comments