summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-12-05 22:46:38 -0500
committerDan Halbert <halbert@halwitz.org>2019-12-05 22:46:38 -0500
commita0721fc94a372c6ee40ae0c358942309de2b94c0 (patch)
tree0fde702697197f778bf789ea8b584bd140e85e32 /shared-module
parent40434d691934cf7f5792f91ce0288beb568bab85 (diff)
parent12f64c7c16377c0600d7b09e7848474254e46d1e (diff)
Merge remote-tracking branch 'adafruit/master' into ld-cleanup
Diffstat (limited to 'shared-module')
-rw-r--r--shared-module/displayio/FourWire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-module/displayio/FourWire.c b/shared-module/displayio/FourWire.c
index 92d4507dd..256c29642 100644
--- a/shared-module/displayio/FourWire.c
+++ b/shared-module/displayio/FourWire.c
@@ -49,8 +49,8 @@ void common_hal_displayio_fourwire_construct(displayio_fourwire_obj_t* self,
gc_never_free(self->bus);
self->frequency = baudrate;
- self->polarity = common_hal_busio_spi_get_polarity(spi);
- self->phase = common_hal_busio_spi_get_phase(spi);
+ self->polarity = 0;
+ self->phase = 0;
common_hal_digitalio_digitalinout_construct(&self->command, command);
common_hal_digitalio_digitalinout_switch_to_output(&self->command, true, DRIVE_MODE_PUSH_PULL);