Skip to content

Commit

Permalink
Merge pull request #65 from adafruit/unlock-spi-before-deinit
Browse files Browse the repository at this point in the history
Unlock SPI before deinit
  • Loading branch information
dhalbert authored Sep 4, 2024
2 parents 1945d1a + 5bd39cf commit 49b7a48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adafruit_dotstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def deinit(self) -> None:
self.fill(0)
self.show()
if self._spi:
self._spi.unlock()
self._spi.deinit()
else:
self.dpin.deinit()
Expand Down

0 comments on commit 49b7a48

Please sign in to comment.