summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-02-13 21:15:14 -0500
committerGitHub <noreply@github.com>2019-02-13 21:15:14 -0500
commitf99b9ddcf1ccbdeb32ed01d1c3ef0aaeeef3a5b7 (patch)
tree49ef5b47827e6c4d092ad898c14b6a67e1b033b8 /shared-bindings
parenta1a49590716915e28e97020c368b68b267c2b409 (diff)
parent473bdf48f61998ee9c51aa16c159bbc4df1d15b6 (diff)
Merge pull request #1546 from tannewt/fix_safe_mode
A safe mode fix and displayio fixes
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/displayio/Group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/displayio/Group.c b/shared-bindings/displayio/Group.c
index 421dc1ae5..7b79f3229 100644
--- a/shared-bindings/displayio/Group.c
+++ b/shared-bindings/displayio/Group.c
@@ -256,7 +256,7 @@ STATIC mp_obj_t group_subscr(mp_obj_t self_in, mp_obj_t index_obj, mp_obj_t valu
if (value == MP_OBJ_SENTINEL) {
// load
- return MP_OBJ_NEW_SMALL_INT(common_hal_displayio_group_get(self, index));
+ return common_hal_displayio_group_get(self, index);
} else if (value == mp_const_none) {
common_hal_displayio_group_pop(self, index);
} else {