diff options
| author | askpatricw <4002194+askpatrickw@users.noreply.github.com> | 2020-12-31 16:54:22 -0800 |
|---|---|---|
| committer | askpatricw <4002194+askpatrickw@users.noreply.github.com> | 2020-12-31 16:54:22 -0800 |
| commit | 9e559ac3ec199890d2ee99eb060743bab3083c46 (patch) | |
| tree | cc5bf4c3d82a9feac6baa3e83c73e525f928f17f /shared-module | |
| parent | f814a34714cfa7d76464cf9a66a1586caa2b423d (diff) | |
| parent | 5698b8bb0a178d9022cb20de417efa0f77216e87 (diff) | |
Merge branch 'main' of https://github.com/adafruit/circuitpython into main
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/displayio/FourWire.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shared-module/displayio/FourWire.c b/shared-module/displayio/FourWire.c index 06f8a84e3..e993f2480 100644 --- a/shared-module/displayio/FourWire.c +++ b/shared-module/displayio/FourWire.c @@ -76,9 +76,7 @@ void common_hal_displayio_fourwire_deinit(displayio_fourwire_obj_t* self) { common_hal_reset_pin(self->command.pin); common_hal_reset_pin(self->chip_select.pin); - if (self->reset.pin) { - common_hal_reset_pin(self->reset.pin); - } + common_hal_reset_pin(self->reset.pin); } bool common_hal_displayio_fourwire_reset(mp_obj_t obj) { |
