Change map to tuple to save memory and match _write

This commit is contained in:
gamblor21 2021-12-08 19:28:04 -06:00
parent 9fafd7d7fd
commit 11ef0b48c0
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ void common_hal_is31fl3741_IS31FL3741_construct(is31fl3741_IS31FL3741_obj_t *sel
mp_obj_t *items;
size_t len;
mp_obj_list_get(mapping, &len, &items);
mp_obj_tuple_get(mapping, &len, &items);
if (len != (size_t)(self->scale_width * self->scale_height * 3)) {
mp_raise_ValueError(translate("LED mappings must match display size"));