From c7480cda3112b5f59882e3037e09ad705038fd82 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 30 Jun 2020 11:12:49 -0700 Subject: [PATCH] Bug fixes releated to resetting display --- displayio/display.py | 2 +- displayio/fourwire.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/displayio/display.py b/displayio/display.py index b9f86dc..0bc7e8c 100644 --- a/displayio/display.py +++ b/displayio/display.py @@ -192,7 +192,7 @@ class Display: self._bus.end_transaction() def _release(self): - self._bus.release() + self._bus._release() # pylint: disable=protected-access self._bus = None def show(self, group): diff --git a/displayio/fourwire.py b/displayio/fourwire.py index 4aeee86..64be5c8 100644 --- a/displayio/fourwire.py +++ b/displayio/fourwire.py @@ -99,8 +99,6 @@ class FourWire: time.sleep(0.001) self._reset.value = True time.sleep(0.001) - else: - raise RuntimeError("No reset pin defined") def send(self, is_command, data, *, toggle_every_byte=False): """Sends the given command value followed by the full set of data. Display state, -- 2.49.0