Skip to content

Commit 92853e6

Browse files
committed
RunMode: Fix repr(RunMode.BOOTLOADER)
1 parent fe6f5aa commit 92853e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/microcontroller/RunMode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ STATIC void mcu_runmode_print(const mp_print_t *print, mp_obj_t self_in, mp_prin
7676
runmode = MP_QSTR_SAFE_MODE;
7777
} else if (MP_OBJ_TO_PTR(self_in) ==
7878
MP_ROM_PTR(&mcu_runmode_bootloader_obj)) {
79-
runmode = MP_QSTR_SAFE_MODE;
79+
runmode = MP_QSTR_BOOTLOADER;
8080
}
8181
mp_printf(print, "%q.%q.%q", MP_QSTR_microcontroller, MP_QSTR_RunMode,
8282
runmode);

0 commit comments

Comments
 (0)