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

Commit 4f96d70

Browse files
committed
Bye bugs
1 parent d31c688 commit 4f96d70

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

esp32/modules/splash.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import ugfx, time, ntp, badge, machine, appglue, deepsleep, network, esp, gc, services
22

33
# SHA2017 badge home screen
4-
# Renze Nicolai
5-
# Thomas Roos
4+
# v2 Thomas Roos
5+
# v1 Renze Nicolai
66

77
def set_time_ntp():
88
draw_msg("Configuring clock...")
@@ -77,6 +77,8 @@ def draw_home(do_BPP):
7777
badge.eink_busy_wait()
7878
# appglue.start_bpp() ## SHOULD BE THIS!!
7979
deepsleep.start_sleeping()
80+
else:
81+
ugfx.input_attach(ugfx.BTN_B, start_ota)
8082

8183
def start_ota(pushed):
8284
if pushed:
@@ -177,7 +179,6 @@ def check_ota_available():
177179
if (json):
178180
import version
179181
if (json["build"] > version.build):
180-
ugfx.input_attach(ugfx.BTN_B, start_ota)
181182
badge.nvs_set_u8('badge','OTA.ready',1)
182183
return True
183184
else:

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