diff options
Diffstat (limited to 'py/stackctrl.c')
| -rw-r--r-- | py/stackctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/stackctrl.c b/py/stackctrl.c index 1843e7339..c3ad7b21a 100644 --- a/py/stackctrl.c +++ b/py/stackctrl.c @@ -52,8 +52,8 @@ void mp_stack_set_limit(mp_uint_t limit) { } void mp_exc_recursion_depth(void) { - nlr_raise(mp_obj_new_exception_arg1(&mp_type_RuntimeError, - MP_OBJ_NEW_QSTR(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded))); + mp_raise_RuntimeError( + MP_OBJ_NEW_QSTR(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded)); } void mp_stack_check(void) { |
