summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/embed/abort_.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/embed/abort_.c b/lib/embed/abort_.c
index a6df8143c..2fba0de4e 100644
--- a/lib/embed/abort_.c
+++ b/lib/embed/abort_.c
@@ -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");
}