mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update waveshare3in52.py
Signed-off-by: Chris Kerins <clkerins@gmail.com>
This commit is contained in:
@ -38,11 +38,10 @@ class Waveshare3in52(DisplayImpl):
|
|||||||
self._display.Clear()
|
self._display.Clear()
|
||||||
|
|
||||||
def render(self, canvas):
|
def render(self, canvas):
|
||||||
self._display.Clear()
|
|
||||||
buf = self._display.getbuffer(canvas)
|
buf = self._display.getbuffer(canvas)
|
||||||
self._display.display(buf)
|
self._display.display(buf)
|
||||||
self._display.refresh()
|
self._display.refresh()
|
||||||
|
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.Clear()
|
self._display.Clear()
|
||||||
|
Reference in New Issue
Block a user