Skip to content

Commit 9ab4152

Browse files
main.py: install button handler in same thread for predictability
1 parent 96778cf commit 9ab4152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal_filesystem/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
print("main.py: WARNING: could not import/run freezefs_mount_builtin: ", e)
1313

1414
from mpos import apps
15-
apps.execute_script_new_thread("builtin/system/button.py", True, False, False) # Button handling through IRQ
15+
apps.execute_script("builtin/system/button.py", True, False, False) # Install button handler through IRQ
1616
apps.auto_connect()
1717
apps.restart_launcher()
1818

0 commit comments

Comments
 (0)