X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/2856ea5f3e32f4a33678ab815c65884b6d4ba069..bbc59c23796a87538e9f9b120dd54d6cb7ce72f5:/displayio/fourwire.py diff --git a/displayio/fourwire.py b/displayio/fourwire.py index 64be5c8..219656c 100644 --- a/displayio/fourwire.py +++ b/displayio/fourwire.py @@ -116,8 +116,7 @@ class FourWire: self._spi.write(data) def begin_transaction(self): - """Begin the SPI transaction by locking, configuring, and setting Chip Select - """ + """Begin the SPI transaction by locking, configuring, and setting Chip Select""" while not self._spi.try_lock(): pass self._spi.configure( @@ -126,7 +125,6 @@ class FourWire: self._chip_select.value = False def end_transaction(self): - """End the SPI transaction by unlocking and setting Chip Select - """ + """End the SPI transaction by unlocking and setting Chip Select""" self._chip_select.value = True self._spi.unlock()