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:
@ -34,9 +34,7 @@ class Waveshare154(DisplayImpl):
|
|||||||
logging.info("initializing waveshare v1in54 display")
|
logging.info("initializing waveshare v1in54 display")
|
||||||
from pwnagotchi.ui.hw.libs.waveshare.v1in54.epd1in54 import EPD
|
from pwnagotchi.ui.hw.libs.waveshare.v1in54.epd1in54 import EPD
|
||||||
self._display = EPD()
|
self._display = EPD()
|
||||||
self._display.init(0)
|
self._display.init(self._display.lut_partial_update)
|
||||||
self._display.Clear()
|
|
||||||
self._display.init(1)
|
|
||||||
self._display.Clear()
|
self._display.Clear()
|
||||||
|
|
||||||
def render(self, canvas):
|
def render(self, canvas):
|
||||||
|
Reference in New Issue
Block a user