10000 Updated to remove else statment, attempt to remove excess mpy-cross..… · cwalther/circuitpython@0887bc2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0887bc2

Browse files
author
Margaret Matocha
committed
Updated to remove else statment, attempt to remove excess mpy-cross... file
2 parents 076c5f9 + db26e89 commit 0887bc2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

shared-bindings/displayio/Group.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,9 @@ STATIC mp_obj_t displayio_group_obj_insert(mp_obj_t self_in, mp_obj_t index_obj,
218218
if ((size_t) MP_OBJ_SMALL_INT_VALUE(index_obj) == common_hal_displayio_group_get_len(self)){
219219
return displayio_group_obj_append(self_in, layer);
220220
}
221-
222221
size_t index = mp_get_index(&displayio_group_type, common_hal_displayio_group_get_len(self), index_obj, false);
223222
common_hal_displayio_group_insert(self, index, layer);
224223
return mp_const_none;
225-
226224
}
227225
MP_DEFINE_CONST_FUN_OBJ_3(displayio_group_insert_obj, displayio_group_obj_insert);
228226

0 commit comments

Comments
 (0)
0