Skip to content

Commit a6f24eb

Browse files
committed
fixed issue #22 and #21
1 parent ecdede6 commit a6f24eb

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)