diff --git a/pwnagotchi/plugins/default/memtemp.py b/pwnagotchi/plugins/default/memtemp.py index 4d5dd640..b3becdd8 100644 --- a/pwnagotchi/plugins/default/memtemp.py +++ b/pwnagotchi/plugins/default/memtemp.py @@ -53,6 +53,9 @@ class MemTemp(plugins.Plugin): elif ui.is_inky(): h_pos = (140, 68) v_pos = (165, 54) + elif ui.is_waveshare27inch(): + h_pos = (192, 138) + v_pos = (216, 122) else: h_pos = (155, 76) v_pos = (180, 61) diff --git a/pwnagotchi/ui/hw/waveshare27inch.py b/pwnagotchi/ui/hw/waveshare27inch.py index c554744b..0cbc168e 100644 --- a/pwnagotchi/ui/hw/waveshare27inch.py +++ b/pwnagotchi/ui/hw/waveshare27inch.py @@ -6,7 +6,7 @@ from pwnagotchi.ui.hw.base import DisplayImpl class Waveshare27inch(DisplayImpl): def __init__(self, config): - super(Waveshare27inch, self).__init__(config, 'waveshare_2_7inch') + super(Waveshare27inch, self).__init__(config, 'waveshare27inch') self._display = None def layout(self):