Skip to content

Commit

Permalink
Presto: support two layers in normal resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Nov 29, 2024
1 parent 5aa0842 commit 5dbec2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/py_frozen/presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5dbec2f

Please sign in to comment.