Fix 3.7 orientation

This commit is contained in:
Regan Kouchoo
2024-04-26 13:21:55 +10:00
parent 4e07fbf1aa
commit b38274e652

View File

@ -10,8 +10,8 @@ class Waveshare3in7(DisplayImpl):
def layout(self): def layout(self):
fonts.setup(10, 8, 10, 18, 25, 9) fonts.setup(10, 8, 10, 18, 25, 9)
self._layout['width'] = 480 self._layout['width'] = 280
self._layout['height'] = 280 self._layout['height'] = 480
self._layout['face'] = (0, 43) self._layout['face'] = (0, 43)
self._layout['name'] = (0, 14) self._layout['name'] = (0, 14)
self._layout['channel'] = (0, 0) self._layout['channel'] = (0, 0)