summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extmod/modbluetooth.c2
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: {