mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
waveshare35lcd.py: small bug fix to show face immediately
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -41,7 +41,7 @@ class Waveshare35lcd(DisplayImpl):
|
|||||||
from pwnagotchi.ui.hw.libs.fb import fb
|
from pwnagotchi.ui.hw.libs.fb import fb
|
||||||
self._display = fb
|
self._display = fb
|
||||||
logging.info("initializing waveshare 3,5inch lcd display")
|
logging.info("initializing waveshare 3,5inch lcd display")
|
||||||
self._display.ready_fb(i=1)
|
self._display.ready_fb(i=0)
|
||||||
self._display.black_scr()
|
self._display.black_scr()
|
||||||
|
|
||||||
def render(self, canvas):
|
def render(self, canvas):
|
||||||
|
Reference in New Issue
Block a user