Skip to content

Commit 49b7a48

Browse files
authored
Merge pull request #65 from adafruit/unlock-spi-before-deinit
Unlock SPI before deinit
2 parents 1945d1a + 5bd39cf commit 49b7a48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_dotstar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def deinit(self) -> None:
146146
self.fill(0)
147147
self.show()
148148
if self._spi:
149+
self._spi.unlock()
149150
self._spi.deinit()
150151
else:
151152
self.dpin.deinit()

0 commit comments

Comments
 (0)