Skip to content

Commit 8724b43

Browse files
committed
revert incorrect translate() change
1 parent 60755cc commit 8724b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/shared/translate/translate_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ __attribute__((always_inline))
5050
#endif
5151
// Prevent instrumenting this because that disables the inlining we rely of for code size
5252
// optimization.
53-
__attribute__((no_instrument_function)) mp_rom_error_text_t MP_ERROR_TEXT(const char *original) {
53+
__attribute__((no_instrument_function)) mp_rom_error_text_t translate(const char *original) {
5454
#ifndef NO_QSTR
5555
#define QDEF(id, hash, len, str)
5656
#define TRANSLATION(english_id, number) if (strcmp(original, english_id) == 0) { return (mp_rom_error_text_t)&translation##number; } else

0 commit comments

Comments
 (0)