summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/ParallelBus.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-04-21 12:30:32 -0700
committerGitHub <noreply@github.com>2020-04-21 12:30:32 -0700
commit51dbe9109fb6a474fe7f4cf4e3766e27ba0b34b5 (patch)
tree0824151a617bf718a212c5778e58bb1bf49eea2b /shared-bindings/displayio/ParallelBus.c
parentff9e388910cbbc386effab17d0240ff63e4311ec (diff)
parent507e17fbf15715b28d17cc69aab54a48dd001c52 (diff)
Merge pull request #2797 from jepler/fix-27925.3.0-rc.05.3.0
displayio: Fix "bus type" problem introduced at 8cba145c9029
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;