misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-11-01 17:49:50 +01:00
parent 22e76f956c
commit 4b74de48bf
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -41,11 +41,8 @@ class MemTemp(plugins.Plugin):
return int(pwnagotchi.cpu_load() * 100)
def on_ui_setup(self, ui):
# self._layout['width'] = 250
# self._layout['height'] = 122
if ui.is_waveshare_v2():
h_pos = (180, 76)
h_pos = (180, 80)
v_pos = (180, 61)
else:
h_pos = (155, 76)