From e9494992fcc493a7bb5cddfb70226dcae64440d6 Mon Sep 17 00:00:00 2001 From: opteeks <40588772+opteeks@users.noreply.github.com> Date: Wed, 30 Oct 2019 22:49:06 -0700 Subject: [PATCH] Add support for Waveshare 2.9inch display --- pwnagotchi/ui/hw/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/ui/hw/__init__.py b/pwnagotchi/ui/hw/__init__.py index 1e0bf31..ec0e013 100644 --- a/pwnagotchi/ui/hw/__init__.py +++ b/pwnagotchi/ui/hw/__init__.py @@ -21,7 +21,6 @@ def display_for(config): if config['ui']['display']['type'] == 'lcdhat': return LcdHat(config) - elif config['ui']['display']['type'] == 'waveshare_1': return WaveshareV1(config) @@ -29,4 +28,8 @@ def display_for(config): return WaveshareV2(config) elif config['ui']['display']['type'] == 'waveshare27inch': - return Waveshare27inch(config) \ No newline at end of file + return Waveshare27inch(config) + + elif config['ui']['display']['type'] == 'waveshare29inch': + return Waveshare29inch(config) +