diff --git a/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py b/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py index dc1da5ec..ff19d242 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py +++ b/pwnagotchi/ui/hw/libs/waveshare/lcd/lcdhat2in4/LCD_2inch4.py @@ -4,8 +4,8 @@ import numbers class LCD_2inch4(lcdconfig.RaspberryPi): - width = 240 - height = 320 + self.width = 240 + self.height = 320 def command(self, cmd): self.digital_write(self.DC_PIN, False)