From 1064936503dd9436c2325cf5baa3073704edd7be Mon Sep 17 00:00:00 2001 From: jayofelony Date: Mon, 15 Apr 2024 15:23:47 +0200 Subject: [PATCH] Small changes Signed-off-by: jayofelony --- pwnagotchi/ui/hw/displayhatmini.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/ui/hw/displayhatmini.py b/pwnagotchi/ui/hw/displayhatmini.py index b5a8db80..afc590db 100644 --- a/pwnagotchi/ui/hw/displayhatmini.py +++ b/pwnagotchi/ui/hw/displayhatmini.py @@ -34,10 +34,10 @@ class DisplayHatMini(DisplayImpl): def initialize(self): logging.info("initializing Display Hat Mini") from pwnagotchi.ui.hw.libs.pimoroni.displayhatmini.ST7789 import ST7789 - self._display = ST7789(0, 1, 9, 13) + self._display = ST7789(0, 1, 9, 13, width=self._layout['width'], height=self._layout['height'], rotation=0) def render(self, canvas): self._display.display(canvas) def clear(self): - self._display.clear() + pass