Skip to content

Commit 69fc872

Browse files
committed
Fix espidf.MemoryError print
1 parent da61845 commit 69fc872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/esp32s2/bindings/espidf/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void espidf_exception_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kin
7777
mp_print_kind_t k = kind & ~PRINT_EXC_SUBCLASS;
7878
bool is_subclass = kind & PRINT_EXC_SUBCLASS;
7979
if (!is_subclass && (k == PRINT_EXC)) {
80-
mp_print_str(print, qstr_str(MP_OBJ_QSTR_VALUE(MP_QSTR_espidf)));
80+
mp_print_str(print, qstr_str(MP_OBJ_QSTR_VALUE(MP_ROM_QSTR(MP_QSTR_espidf))));
8181
mp_print_str(print, ".");
8282
}
8383
mp_obj_exception_print(print, o_in, kind);

0 commit comments

Comments
 (0)