lib/embed/abort_: Use mp_raise_msg helper function.
This commit is contained in:
parent
e2ba45c35f
commit
d36539df06
|
@ -3,5 +3,5 @@
|
||||||
NORETURN void abort_(void);
|
NORETURN void abort_(void);
|
||||||
|
|
||||||
NORETURN void abort_(void) {
|
NORETURN void abort_(void) {
|
||||||
nlr_raise(mp_obj_new_exception_msg(&mp_type_RuntimeError, "abort() called"));
|
mp_raise_msg(&mp_type_RuntimeError, "abort() called");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue