diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2020-03-02 22:35:22 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-05 15:02:06 +1000 |
commit | def76fe4d9bbc2c342594dc05861b24d7165d274 (patch) | |
tree | d04ad778e2421de0a85835227ba5bcb08562ec24 /py/modmicropython.c | |
parent | 85858e72dfdc3e941c2e620e94de05ad663138b1 (diff) | |
download | micropython-def76fe4d9bbc2c342594dc05861b24d7165d274.tar.gz micropython-def76fe4d9bbc2c342594dc05861b24d7165d274.zip |
all: Use MP_ERROR_TEXT for all error messages.
Diffstat (limited to 'py/modmicropython.c')
-rw-r--r-- | py/modmicropython.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modmicropython.c b/py/modmicropython.c index ff2faba663..f7eadf79bd 100644 --- a/py/modmicropython.c +++ b/py/modmicropython.c @@ -157,7 +157,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mp_micropython_kbd_intr_obj, mp_micropython_kbd #if MICROPY_ENABLE_SCHEDULER STATIC mp_obj_t mp_micropython_schedule(mp_obj_t function, mp_obj_t arg) { if (!mp_sched_schedule(function, arg)) { - mp_raise_msg(&mp_type_RuntimeError, "schedule queue full"); + mp_raise_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("schedule queue full")); } return mp_const_none; } |