fix on 38 displays

This commit is contained in:
Jeroen Oudshoorn
2024-02-15 20:46:48 +01:00
parent 0999b95be0
commit eb48d29851
38 changed files with 94 additions and 65 deletions

View File

@ -38,7 +38,8 @@ class Waveshare7in5bV2(DisplayImpl):
self._display.Clear()
def render(self, canvas):
self._display.display(canvas)
buf = self._display.getbuffer(canvas)
self._display.display(buf, None)
def clear(self):
self._display.Clear()