summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2021-02-20 23:04:06 +0100
committerRadomir Dopieralski <openstack@sheep.art.pl>2021-02-27 20:52:38 +0100
commit6e0ce23f3e2ce341bcaefdd0a0d5c98ff43949f0 (patch)
tree35b7eac922627e7553c6e784b8c70630e359f485 /supervisor/shared
parentf4886a6f46ba4e421b739952be968703b1e7f4b6 (diff)
displaio: don't store group children native object
Since we want to expose the list of group's children to the user, we should only have the original objects in it, without any other additional data, and compute the native object as needed.
Diffstat (limited to 'supervisor/shared')
-rw-r--r--supervisor/shared/display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c
index 9c9c66cd7..a5830f764 100644
--- a/supervisor/shared/display.c
+++ b/supervisor/shared/display.c
@@ -272,13 +272,13 @@ displayio_tilegrid_t blinka_sprite = {
#if CIRCUITPY_TERMINALIO
#define CHILD_COUNT 2
displayio_group_child_t splash_children[2] = {
- {&blinka_sprite, &blinka_sprite},
- {&supervisor_terminal_text_grid, &supervisor_terminal_text_grid}
+ {&blinka_sprite},
+ {&supervisor_terminal_text_grid},
};
#else
#define CHILD_COUNT 1
displayio_group_child_t splash_children[1] = {
- {&blinka_sprite, &blinka_sprite},
+ {&blinka_sprite},
};
#endif