diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2019-07-11 11:55:31 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-07-17 16:09:32 +1000 |
commit | bc66fe9064c48268dbc88b8c3197f560351b1039 (patch) | |
tree | d37a2bb8df0ba7471fe097e3fe15bbf89024df33 /py/modmicropython.c | |
parent | 3e558300669effa93e5e4dad4c8c4ecc167766c4 (diff) |
py/scheduler: Rename sched_stack to sched_queue.
Behaviour was changed from stack to queue in
8977c7eb581f5d06500edb1ea29aea5cbda04f28, and this updates variable names
to match. Also updates other references (docs, 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 864d1a5c5..8d36697f1 100644 --- a/py/modmicropython.c +++ b/py/modmicropython.c @@ -150,7 +150,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 stack full"); + mp_raise_msg(&mp_type_RuntimeError, "schedule queue full"); } return mp_const_none; } |