Revert "feat: Add in support for Waveshare 2.13inb V4 e-ink display"

This reverts commit 52305fa0a6.
This commit is contained in:
Jeroen Oudshoorn
2023-09-08 20:26:44 +02:00
parent ce09a21f02
commit 651f91a9a2
6 changed files with 8 additions and 513 deletions

View File

@ -13,9 +13,9 @@ from pwnagotchi.ui.hw.waveshare144lcd import Waveshare144lcd
from pwnagotchi.ui.hw.waveshare154inch import Waveshare154inch
from pwnagotchi.ui.hw.waveshare213d import Waveshare213d
from pwnagotchi.ui.hw.waveshare213bc import Waveshare213bc
from pwnagotchi.ui.hw.waveshare35lcd import Waveshare35lcd
from pwnagotchi.ui.hw.spotpear24inch import Spotpear24inch
from pwnagotchi.ui.hw.displayhatmini import DisplayHatMini
from pwnagotchi.ui.hw.waveshare35lcd import Waveshare35lcd
def display_for(config):
# config has been normalized already in utils.load_config
@ -64,8 +64,11 @@ def display_for(config):
elif config['ui']['display']['type'] == 'waveshare213bc':
return Waveshare213bc(config)
elif config['ui']['display']['type'] == 'waveshare35lcd':
return Waveshare35lcd(config)
elif config['ui']['display']['type'] == 'spotpear24inch':
return Spotpear24inch(config)
elif config['ui']['display']['type'] == 'displayhatmini':
return DisplayHatMini(config)
elif config['ui']['display']['type'] == 'waveshare35lcd':
return Waveshare35lcd(config)