Update adafruit_dotstar.py

This commit is contained in:
Dan Halbert 2024-09-03 15:08:56 -04:00 committed by GitHub
parent 1945d1aa9c
commit 5bd39cfa2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,6 +146,7 @@ class DotStar(adafruit_pixelbuf.PixelBuf):
self.fill(0)
self.show()
if self._spi:
self._spi.unlock()
self._spi.deinit()
else:
self.dpin.deinit()