You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
wificonf: 12KB of stack size for child threads seems enough
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user