summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/ParallelBus.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-04-21 17:47:51 -0400
committerDan Halbert <halbert@halwitz.org>2020-04-21 17:47:51 -0400
commit77cd93ac2d8ebce240055caf81f1b6bdd7c9bfcc (patch)
tree3425ef969688971abedb3095e73e2e56b2da66b5 /shared-bindings/displayio/ParallelBus.c
parent38ec3bc57476c6fde45cd7d722370a5408fd8e10 (diff)
parent51dbe9109fb6a474fe7f4cf4e3766e27ba0b34b5 (diff)
merge from adafruit
Diffstat (limited to 'shared-bindings/displayio/ParallelBus.c')
-rw-r--r--shared-bindings/displayio/ParallelBus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-bindings/displayio/ParallelBus.c b/shared-bindings/displayio/ParallelBus.c
index 4d9ffb0a1..bdafdaef6 100644
--- a/shared-bindings/displayio/ParallelBus.c
+++ b/shared-bindings/displayio/ParallelBus.c
@@ -84,6 +84,7 @@ STATIC mp_obj_t displayio_parallelbus_make_new(const mp_obj_type_t *type, size_t
mcu_pin_obj_t *reset = validate_obj_is_free_pin(args[ARG_reset].u_obj);
displayio_parallelbus_obj_t* self = &allocate_display_bus_or_raise()->parallel_bus;
+ self->base.type = &displayio_parallelbus_type;
common_hal_displayio_parallelbus_construct(self, data0, command, chip_select, write, read, reset);
return self;