From: Melissa LeBlanc-Williams Date: Tue, 30 Jun 2020 18:12:49 +0000 (-0700) Subject: Bug fixes releated to resetting display X-Git-Tag: 0.4.2^2~1 X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/commitdiff_plain/c7480cda3112b5f59882e3037e09ad705038fd82?ds=inline Bug fixes releated to resetting display --- 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,