Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 3dd40d1

Browse files
author
Niek Blankers
committed
Pass LUT to ugfx.flush()
1 parent c2ffdf4 commit 3dd40d1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

esp32/modules/installer.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ def empty_options():
4747
text = ugfx.Textbox(int(ugfx.width()/2),0, int(ugfx.width()/2), ugfx.height())
4848
text.text("Downloading category list...")
4949

50-
ugfx.set_lut(ugfx.LUT_FULL)
51-
ugfx.flush()
50+
ugfx.flush(ugfx.LUT_FULL)
5251
badge.eink_busy_wait()
5352
ugfx.set_lut(ugfx.LUT_FASTER)
5453

@@ -111,8 +110,7 @@ def list_apps(slug):
111110
text.destroy()
112111
text = ugfx.Textbox(int(ugfx.width()/2),0, int(ugfx.width()/2), ugfx.height())
113112
text.text("Downloading list of eggs...")
114-
ugfx.set_lut(ugfx.LUT_FULL)
115-
ugfx.flush()
113+
ugfx.flush(ugfx.LUT_FULL)
116114
badge.eink_busy_wait()
117115

118116
gc.collect()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy