From 5bd39cfa2a6377a214965ea5c0950bf8963cf13b Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Tue, 3 Sep 2024 15:08:56 -0400 Subject: [PATCH] Update adafruit_dotstar.py --- adafruit_dotstar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/adafruit_dotstar.py b/adafruit_dotstar.py index 46a1f20..746390d 100755 --- a/adafruit_dotstar.py +++ b/adafruit_dotstar.py @@ -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()