diff options
Diffstat (limited to 'py/modthread.c')
-rw-r--r-- | py/modthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modthread.c b/py/modthread.c index 61ada5035..91237a72b 100644 --- a/py/modthread.c +++ b/py/modthread.c @@ -242,7 +242,7 @@ STATIC mp_obj_t mod_thread_start_new_thread(size_t n_args, const mp_obj_t *args) th_args->n_kw = map->used; // copy across the keyword arguments for (size_t i = 0, n = pos_args_len; i < map->alloc; ++i) { - if (MP_MAP_SLOT_IS_FILLED(map, i)) { + if (mp_map_slot_is_filled(map, i)) { th_args->args[n++] = map->table[i].key; th_args->args[n++] = map->table[i].value; } |