From 3b1d90baefa3daec734e8d21ecd59d4e66bc38e6 Mon Sep 17 00:00:00 2001 From: Alex Muthmann Date: Mon, 28 Oct 2019 12:52:14 +0100 Subject: [PATCH] Fix _display.clear() There is a typo (uppercase / lowercase) which prevents the display from initializing. --- pwnagotchi/ui/hw/lcdhat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/ui/hw/lcdhat.py b/pwnagotchi/ui/hw/lcdhat.py index 75779a3..92e45a7 100644 --- a/pwnagotchi/ui/hw/lcdhat.py +++ b/pwnagotchi/ui/hw/lcdhat.py @@ -37,7 +37,7 @@ class LcdHat(DisplayImpl): from pwnagotchi.ui.hw.libs.waveshare.lcdhat.epd import EPD self._display = EPD() self._display.init() - self._display.Clear() + self._display.clear() def render(self, canvas): self._display.display(canvas)