remove unused linewidth code

This commit is contained in:
Loic Coyle 2022-08-29 14:47:02 +02:00
commit b67fbe06fe
2 changed files with 0 additions and 15 deletions

View file

@ -163,11 +163,6 @@ class EPD:
# display image
def display(self, imageblack, imagered):
if self.width%8 == 0:
linewidth = int(self.width/8)
else:
linewidth = int(self.width/8) + 1
self.send_command(0x24)
self.send_data2(imageblack)