Commit d36539df authored by Damien George's avatar Damien George

lib/embed/abort_: Use mp_raise_msg helper function.

parent e2ba45c3
......@@ -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");
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment