213bc support additions

This commit is contained in:
mohesh.mohan
2019-12-11 23:47:14 +04:00
parent 6117235c52
commit eddcf32b62
2 changed files with 10 additions and 3 deletions

View File

@ -115,6 +115,9 @@ def load_config(args):
elif config['ui']['display']['type'] in ('ws_213d', 'ws213d', 'waveshare_213d', 'waveshare213d'):
config['ui']['display']['type'] = 'waveshare213d'
elif config['ui']['display']['type'] in ('ws_213bc', 'ws213bc', 'waveshare_213bc', 'waveshare213bc'):
config['ui']['display']['type'] = 'waveshare213bc'
elif config['ui']['display']['type'] in ('spotpear24inch'):
config['ui']['display']['type'] = 'spotpear24inch'