From c23d51f8ac3307238cbf702966e1d543ab57a068 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Tue, 13 May 2025 13:21:16 +0200 Subject: [PATCH] wificonf: 12KB of stack size for child threads seems enough --- .../builtin/apps/com.example.wificonf/assets/wificonf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal_filesystem/builtin/apps/com.example.wificonf/assets/wificonf.py b/internal_filesystem/builtin/apps/com.example.wificonf/assets/wificonf.py index e1f99476..bf5cf0e6 100644 --- a/internal_filesystem/builtin/apps/com.example.wificonf/assets/wificonf.py +++ b/internal_filesystem/builtin/apps/com.example.wificonf/assets/wificonf.py @@ -96,6 +96,7 @@ def start_scan_networks(): busy_scanning = True scan_button.remove_flag(lv.obj.FLAG.CLICKABLE) scan_button_label.set_text(scan_button_scanning_text) + _thread.stack_size(12*1024) _thread.start_new_thread(scan_networks, ()) @@ -137,6 +138,7 @@ def start_attempt_connecting(ssid,password): print("Not attempting connect because busy_connecting.") else: busy_connecting = True + _thread.stack_size(12*1024) _thread.start_new_thread(attempt_connecting, (ssid,password)) def show_error(message):