chore(release): beta-1.03
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
170a0e05ab
commit
2a768376d0
6 files changed
+232
-35
No files matched your search
+2
-4
@@ -5,6 +5,7 @@ import utime
|
||||
|
||||
from presets import Presets
|
||||
from settings import Settings
|
||||
from controller_messages import apply_startup_pattern
|
||||
|
||||
|
||||
def initialize_runtime():
|
||||
@@ -23,10 +24,7 @@ def initialize_runtime():
|
||||
presets.debug = bool(settings.get("debug", False))
|
||||
gc.collect()
|
||||
|
||||
default_preset = settings.get("default", "")
|
||||
if default_preset and default_preset in presets.presets:
|
||||
if not presets.select(default_preset):
|
||||
print("Startup preset failed (invalid pattern?):", default_preset)
|
||||
apply_startup_pattern(settings, presets)
|
||||
|
||||
# On ESP32-C3, soft reboots can leave Wi-Fi driver state allocated.
|
||||
# Reset both interfaces and collect before bringing STA up.
|
||||
|
||||
Reference in new issue
Block a user