8000 mimxrt: Fix error after rebase with the actual master. · micropython/micropython@db726ec · GitHub
[go: up one dir, main page]

Skip to content

Commit db726ec

Browse files
committed
mimxrt: Fix error after rebase with the actual master.
1 parent d61f695 commit db726ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/mimxrt/modmimxrt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ STATIC mp_obj_t mimxrt_usb_mode(mp_obj_t mode_in) {
4343
} else if (strncmp(s, USB_MODE_VCP_MSC, slen) == 0) {
4444
set_msc_enabled(true);
4545
} else {
46-
mp_raise_ValueError("Invalid usb_mode");
46+
mp_raise_ValueError(MP_ERROR_TEXT("Invalid usb_mode"));
4747
}
4848
return mp_const_none;
4949
}

0 commit comments

Comments
 (0)
0