Update utils.py
This commit is contained in:
parent
cb6365b9f2
commit
c6c2e0e7ce
@ -85,6 +85,9 @@ def load_config(args):
|
||||
elif config['ui']['display']['type'] in ('ws_27inch', 'ws27inch', 'waveshare_27inch', 'waveshare27inch'):
|
||||
config['ui']['display']['type'] = 'waveshare27inch'
|
||||
|
||||
elif config['ui']['display']['type'] in ('lcdhat'):
|
||||
config['ui']['display']['type'] = 'lcdhat'
|
||||
|
||||
else:
|
||||
print("unsupported display type %s" % config['ui']['display']['type'])
|
||||
exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user