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

Commit 215333d

Browse files
authored
Merge pull request SHA2017-badge#229 from SHA2017-badge/basvs-disable-custom-splash
Be more verbose on disabling custom splash screen.
2 parents 62a4719 + f811ffd commit 215333d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

esp32/modules/boot.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,18 @@
3838
ugfx.clear(ugfx.WHITE)
3939
ugfx.flush(ugfx.LUT_FULL)
4040
except BaseException as e:
41+
sys.print_exception(e)
42+
import easydraw
43+
easydraw.msg("A fatal error occured!","Still Crashing Anyway", True)
44+
easydraw.msg("")
45+
4146
# if we started the splash screen and it is not the default splash screen,
4247
# then revert to original splash screen.
4348
if splash == badge.nvs_get_str('boot', 'splash', 'splash') and splash != 'splash':
49+
easydraw.msg("Disabling custom splash screen.")
50+
easydraw.msg("")
4451
badge.nvs_erase_key('boot', 'splash')
4552

46-
sys.print_exception(e)
47-
import easydraw
48-
easydraw.msg("A fatal error occured!","Still Crashing Anyway", True)
49-
easydraw.msg("")
5053
easydraw.msg("Guru meditation:")
5154
easydraw.msg(str(e))
5255
easydraw.msg("")

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