mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Fix waveshare1in54.py
This commit is contained in:
@ -36,6 +36,8 @@ class Waveshare154(DisplayImpl):
|
||||
self._display = EPD()
|
||||
self._display.init(0)
|
||||
self._display.Clear()
|
||||
self._display.init(1)
|
||||
self._display.Clear()
|
||||
|
||||
def render(self, canvas):
|
||||
buf = self._display.getbuffer(canvas)
|
||||
|
@ -38,7 +38,6 @@ class Waveshare154V2(DisplayImpl):
|
||||
self._display = EPD()
|
||||
self._display.init(0)
|
||||
self.clear()
|
||||
self._display = EPD()
|
||||
self._display.init(1)
|
||||
self.clear()
|
||||
except Exception as e:
|
||||
|
Reference in New Issue
Block a user