Skip to content

Commit ab74f45

Browse files
committed
Define polarity and phase in Fourwire
1 parent f3f2c7f commit ab74f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/displayio/FourWire.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ void common_hal_displayio_fourwire_construct(displayio_fourwire_obj_t* self,
4949
gc_never_free(self->bus);
5050

5151
self->frequency = baudrate;
52-
self->polarity = common_hal_busio_spi_get_polarity(spi);
53-
self->phase = common_hal_busio_spi_get_phase(spi);
52+
self->polarity = 0;
53+
self->phase = 0;
5454

5555
common_hal_digitalio_digitalinout_construct(&self->command, command);
5656
common_hal_digitalio_digitalinout_switch_to_output(&self->command, true, DRIVE_MODE_PUSH_PULL);

0 commit comments

Comments
 (0)