Skip to content

Commit 2efb958

Browse files
committed
do a greyscale refresh once on startup.
1 parent d5f9735 commit 2efb958

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

esp32/modules/launcher.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,7 @@ def init_power_management():
161161
def start():
162162
ugfx.input_init()
163163
ugfx.set_lut(ugfx.LUT_FASTER)
164-
ugfx.clear(ugfx.BLACK)
165-
ugfx.flush()
166164
ugfx.clear(ugfx.WHITE)
167-
ugfx.flush()
168165

169166
if badge.safe_mode():
170167
still = "SAFE"
@@ -213,7 +210,8 @@ def start():
213210
populate_category()
214211
populate_options()
215212

216-
ugfx.flush(ugfx.LUT_FULL)
213+
# do a greyscale flush on start
214+
ugfx.flush(ugfx.GREYSCALE)
217215

218216
start()
219217
init_power_management()

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