diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2019-12-05 10:18:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-05 10:18:07 -0800 |
| commit | 12f64c7c16377c0600d7b09e7848474254e46d1e (patch) | |
| tree | d735c40294f93244093dc7e610062783885f4378 /shared-module | |
| parent | d50f93058d9aa5a0a40b59dd2ab99f60267d82f2 (diff) | |
| parent | ab74f45bfbed78fd752e3ed3a12c01fa910ad672 (diff) | |
Merge pull request #2352 from hierophect/stm32-displayio
STM32: Displayio
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/displayio/FourWire.c | 4 |
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); |
