From 5dbec2f01e1cb8bb4b022a0f850f5838faa15aed Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Fri, 29 Nov 2024 16:31:52 +0000 Subject: [PATCH] Presto: support two layers in normal resolution. --- modules/py_frozen/presto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/py_frozen/presto.py b/modules/py_frozen/presto.py index 6f0ec94..d7c62be 100644 --- a/modules/py_frozen/presto.py +++ b/modules/py_frozen/presto.py @@ -23,7 +23,7 @@ def __init__(self, full_res=False, reactive_backlight=False, direct_to_fb=False) # Display Driver & PicoGraphics self.presto = _presto.Presto(full_res=full_res) self.buffer = None if (full_res and not direct_to_fb) else memoryview(self.presto) - self.display = PicoGraphics(DISPLAY_PRESTO_FULL_RES if full_res else DISPLAY_PRESTO, buffer=self.buffer) + self.display = PicoGraphics(DISPLAY_PRESTO_FULL_RES if full_res else DISPLAY_PRESTO, buffer=self.buffer, layers=1 if full_res else 2) self.width, self.height = self.display.get_bounds() # Reactive Backlight