Fix for waveshare2in13b_V4.py implementation

This commit is contained in:
Jeroen Oudshoorn
2024-01-28 21:44:19 +01:00
parent 31a4af4c21
commit 91eaa22188

View File

@ -7,7 +7,7 @@ from PIL import Image
class Waveshare213bV4(DisplayImpl): class Waveshare213bV4(DisplayImpl):
def __init__(self, config): def __init__(self, config):
super(Waveshare213bV4, self).__init__(config, 'waveshare213inb_v4') super(Waveshare213bV4, self).__init__(config, 'waveshare2in13b_v4')
def layout(self): def layout(self):
if self.config['color'] == 'black': if self.config['color'] == 'black':