mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Add Display Hat Support
Add Pimoroni Display Hat support
This commit is contained in:
@ -284,6 +284,9 @@ def load_config(args):
|
|||||||
elif config['ui']['display']['type'] in ('spotpear24inch'):
|
elif config['ui']['display']['type'] in ('spotpear24inch'):
|
||||||
config['ui']['display']['type'] = 'spotpear24inch'
|
config['ui']['display']['type'] = 'spotpear24inch'
|
||||||
|
|
||||||
|
elif config['ui']['display']['type'] in ('displayhatmini'):
|
||||||
|
config['ui']['display']['type'] = 'displayhatmini'
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("unsupported display type %s" % config['ui']['display']['type'])
|
print("unsupported display type %s" % config['ui']['display']['type'])
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Reference in New Issue
Block a user