From b38274e652ff323f45d743f083472779edab8f92 Mon Sep 17 00:00:00 2001 From: Regan Kouchoo Date: Fri, 26 Apr 2024 13:21:55 +1000 Subject: [PATCH] Fix 3.7 orientation --- pwnagotchi/ui/hw/waveshare3in7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/ui/hw/waveshare3in7.py b/pwnagotchi/ui/hw/waveshare3in7.py index f792845a..2b2cf155 100644 --- a/pwnagotchi/ui/hw/waveshare3in7.py +++ b/pwnagotchi/ui/hw/waveshare3in7.py @@ -10,8 +10,8 @@ class Waveshare3in7(DisplayImpl): def layout(self): fonts.setup(10, 8, 10, 18, 25, 9) - self._layout['width'] = 480 - self._layout['height'] = 280 + self._layout['width'] = 280 + self._layout['height'] = 480 self._layout['face'] = (0, 43) self._layout['name'] = (0, 14) self._layout['channel'] = (0, 0)