mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Merge pull request #3 from opteeks/opteeks-waveshare29inch
Add support for Waveshare 2.9inch display
This commit is contained in:
@ -21,7 +21,6 @@ def display_for(config):
|
|||||||
if config['ui']['display']['type'] == 'lcdhat':
|
if config['ui']['display']['type'] == 'lcdhat':
|
||||||
return LcdHat(config)
|
return LcdHat(config)
|
||||||
|
|
||||||
|
|
||||||
elif config['ui']['display']['type'] == 'waveshare_1':
|
elif config['ui']['display']['type'] == 'waveshare_1':
|
||||||
return WaveshareV1(config)
|
return WaveshareV1(config)
|
||||||
|
|
||||||
@ -30,3 +29,7 @@ def display_for(config):
|
|||||||
|
|
||||||
elif config['ui']['display']['type'] == 'waveshare27inch':
|
elif config['ui']['display']['type'] == 'waveshare27inch':
|
||||||
return Waveshare27inch(config)
|
return Waveshare27inch(config)
|
||||||
|
|
||||||
|
elif config['ui']['display']['type'] == 'waveshare29inch':
|
||||||
|
return Waveshare29inch(config)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user