We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b240d9 commit 96778cfCopy full SHA for 96778cf
1 file changed
internal_filesystem/builtin/system/button.py
@@ -34,6 +34,7 @@ def on_long_press(t): # Callback for when long press duration is reached.
34
timer.deinit() # Stop the timer
35
global is_pressed
36
if is_pressed and button.value() == 0: # Ensure button is still pressed
37
+ _thread.stack_size(12*1024)
38
_thread.start_new_thread(handle_long_press, ())
39
else:
40
is_pressed = False
0 commit comments