Skip to content

Commit 569d472

Browse files
pi-anldpgeorge
authored andcommitted
extmod/modbluetooth: Use newer mp_map_slot_is_filled function.
Required in MICROPY_PREVIEW_VERSION_2. Signed-off-by: Andrew Leech <[email protected]>
1 parent 9bde197 commit 569d472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/modbluetooth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ static mp_obj_t bluetooth_ble_config(size_t n_args, const mp_obj_t *args, mp_map
340340
}
341341

342342
for (size_t i = 0; i < kwargs->alloc; ++i) {
343-
if (MP_MAP_SLOT_IS_FILLED(kwargs, i)) {
343+
if (mp_map_slot_is_filled(kwargs, i)) {
344344
mp_map_elem_t *e = &kwargs->table[i];
345345
switch (mp_obj_str_get_qstr(e->key)) {
346346
case MP_QSTR_gap_name: {

0 commit comments

Comments
 (0)