Skip to content

Commit 5385963

Browse files
authored
Merge pull request #23 from mrmcwethy/issue22t2
fixed issue #22 and #21
2 parents ecdede6 + a6f24eb commit 5385963

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adafruit_epd/epd.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ def display(self): # pylint: disable=too-many-branches
152152

153153
self._cs.value = True
154154
self.spi_device.unlock()
155+
else:
156+
if self.sram:
157+
self.sram.cs_pin.value = True
158+
155159
self.update()
156160

157161

0 commit comments

Comments
 (0)