aboutsummaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-07-11 11:55:31 +1000
committerDamien George <damien.p.george@gmail.com>2019-07-17 16:09:32 +1000
commitbc66fe9064c48268dbc88b8c3197f560351b1039 (patch)
treed37a2bb8df0ba7471fe097e3fe15bbf89024df33 /py/mpstate.h
parent3e558300669effa93e5e4dad4c8c4ecc167766c4 (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/mpstate.h')
-rw-r--r--py/mpstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index a9c2b32d6..b7eb6bdeb 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -141,7 +141,7 @@ typedef struct _mp_state_vm_t {
volatile mp_obj_t mp_pending_exception;
#if MICROPY_ENABLE_SCHEDULER
- mp_sched_item_t sched_stack[MICROPY_SCHEDULER_DEPTH];
+ mp_sched_item_t sched_queue[MICROPY_SCHEDULER_DEPTH];
#endif
// current exception being handled, for sys.exc_info()