From 49f7c652c7263e9cbc12cb36c6ee1ead69fc99b8 Mon Sep 17 00:00:00 2001 From: Kirill Date: Sat, 19 Oct 2019 12:53:46 +0300 Subject: [PATCH] Fix waveshare v1 layout: status pos --- pwnagotchi/ui/hw/waveshare1.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pwnagotchi/ui/hw/waveshare1.py b/pwnagotchi/ui/hw/waveshare1.py index fba8f179..47e55e19 100644 --- a/pwnagotchi/ui/hw/waveshare1.py +++ b/pwnagotchi/ui/hw/waveshare1.py @@ -38,7 +38,6 @@ class WaveshareV1(DisplayImpl): self._layout['name'] = (5, 15) self._layout['channel'] = (0, 0) self._layout['aps'] = (28, 0) - self._layout['status'] = (91, 15) self._layout['uptime'] = (147, 0) self._layout['line1'] = [0, 12, 212, 12] self._layout['line2'] = [0, 92, 212, 92] @@ -47,9 +46,9 @@ class WaveshareV1(DisplayImpl): self._layout['shakes'] = (0, 93) self._layout['mode'] = (187, 93) self._layout['status'] = { - 'pos': (125, 20), + 'pos': (91, 15), 'font': fonts.Medium, - 'max': 14 + 'max': 20 } return self._layout