From 3d5185f2c1c473c4e0c355d6bd2db97af2389cf8 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Thu, 15 Feb 2024 09:30:03 +0100 Subject: [PATCH] update waveshare3in7.py --- 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 8e7b6a1d..707dc2dd 100644 --- a/pwnagotchi/ui/hw/waveshare3in7.py +++ b/pwnagotchi/ui/hw/waveshare3in7.py @@ -38,8 +38,8 @@ class Waveshare3in7(DisplayImpl): self._display.Clear(0) def render(self, canvas): - buf = self._display.getbuffer_4Gray(canvas) - self._display.display_4Gray(buf) + buf = self._display.getbuffer(canvas) + self._display.display_1Gray(buf) def clear(self): self._display.Clear(0)