From d23dde9f4e52a2b94031114fa381338afb05fb20 Mon Sep 17 00:00:00 2001 From: Andrea Draghetti Date: Tue, 2 Apr 2024 00:19:48 +0200 Subject: [PATCH] Fix Waveshare V2 Horizontal Position The current location "178, 84" does not correctly display the temperature symbol (Cellsius, Kelvin, etc.). I fix the code whit the correct position. --- pwnagotchi/plugins/default/memtemp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/memtemp.py b/pwnagotchi/plugins/default/memtemp.py index 898df2f2d..9a9a6cf72 100644 --- a/pwnagotchi/plugins/default/memtemp.py +++ b/pwnagotchi/plugins/default/memtemp.py @@ -106,7 +106,7 @@ def on_ui_setup(self, ui): except Exception: # Set default position based on screen type if ui.is_waveshare_v2(): - h_pos = (178, 84) + h_pos = (175, 84) v_pos = (197, 74) elif ui.is_waveshare_v1(): h_pos = (170, 80)