diff options
author | Damien George <damien.p.george@gmail.com> | 2017-09-22 11:31:00 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-09-22 11:31:00 +1000 |
commit | d36539df06863cd83fc3a475c7b6f04d20095967 (patch) | |
tree | a574fb2410e5a448617f6d879ae741e2ef15c5d2 | |
parent | e2ba45c35fa9f5e84f79e8e220a9a7d43a94ff7f (diff) | |
download | micropython-d36539df06863cd83fc3a475c7b6f04d20095967.tar.gz micropython-d36539df06863cd83fc3a475c7b6f04d20095967.zip |
lib/embed/abort_: Use mp_raise_msg helper function.
-rw-r--r-- | lib/embed/abort_.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/embed/abort_.c b/lib/embed/abort_.c index a6df8143c3..2fba0de4ea 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"); } |