From 02a6063f12011b58203d578c6de03e9744833c98 Mon Sep 17 00:00:00 2001 From: makerph Date: Thu, 11 Aug 2022 10:49:14 +0800 Subject: [PATCH] Add Display Hat Support Add Pimoroni Display Hat support --- pwnagotchi/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pwnagotchi/utils.py b/pwnagotchi/utils.py index 29c36327..0a9a5cf0 100644 --- a/pwnagotchi/utils.py +++ b/pwnagotchi/utils.py @@ -283,7 +283,10 @@ def load_config(args): elif config['ui']['display']['type'] in ('spotpear24inch'): config['ui']['display']['type'] = 'spotpear24inch' - + + elif config['ui']['display']['type'] in ('displayhatmini'): + config['ui']['display']['type'] = 'displayhatmini' + else: print("unsupported display type %s" % config['ui']['display']['type']) sys.exit(1)