lib/embed/abort_: Use mp_raise_msg helper function.

crypto-aes
Damien George 5 years ago
parent e2ba45c35f
commit d36539df06

@ -3,5 +3,5 @@
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…
Cancel
Save