diff options
| author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2025-03-26 10:21:52 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-04-22 11:29:43 +1000 |
| commit | 569d472bc7f6f6fb20f69fcdb3ff19f525dec071 (patch) | |
| tree | 1f59bbb91498d32e94d750a0402f4e6b4a408fac /extmod | |
| parent | 9bde1970044b7b0a6667d2f4a675c8c3f7816706 (diff) | |
extmod/modbluetooth: Use newer mp_map_slot_is_filled function.
Required in MICROPY_PREVIEW_VERSION_2.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/modbluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modbluetooth.c b/extmod/modbluetooth.c index 7049c35df..b95c42a4e 100644 --- a/extmod/modbluetooth.c +++ b/extmod/modbluetooth.c @@ -340,7 +340,7 @@ static mp_obj_t bluetooth_ble_config(size_t n_args, const mp_obj_t *args, mp_map } for (size_t i = 0; i < kwargs->alloc; ++i) { - if (MP_MAP_SLOT_IS_FILLED(kwargs, i)) { + if (mp_map_slot_is_filled(kwargs, i)) { mp_map_elem_t *e = &kwargs->table[i]; switch (mp_obj_str_get_qstr(e->key)) { case MP_QSTR_gap_name: { |
