diff --git a/pwnagotchi/ui/hw/waveshare2in7_V2.py b/pwnagotchi/ui/hw/waveshare2in7_V2.py index 42272fb6..e8d4cfcd 100644 --- a/pwnagotchi/ui/hw/waveshare2in7_V2.py +++ b/pwnagotchi/ui/hw/waveshare2in7_V2.py @@ -35,13 +35,11 @@ class Waveshare27inchV2(DisplayImpl): from pwnagotchi.ui.hw.libs.waveshare.v2in7_v2.epd2in7_V2 import EPD self._display = EPD() self._display.init() - # this must have changed by waveshare - # remove the 0xFF(Clear(0xFF)) other wise it errors. can't pass oxff and self self._display.Clear() def render(self, canvas): buf = self._display.getbuffer(canvas) - self._display.display_Partial(buf, 0, 0, 176, 264) + self._display.display_Fast(buf) def clear(self): # This line also removes the 0xFF