fix: code review batch 2 — multi-channel, thread safety, DSP reset, MIDI, hotspot, NAM, docs/CI, code quality
CI / test (push) Has been cancelled

This commit is contained in:
2026-06-17 22:38:24 -04:00
parent c65e4816c4
commit 2558306e78
23 changed files with 631 additions and 125 deletions
+10
View File
@@ -607,6 +607,7 @@ class PedalApp:
bypassed=self._bypassed,
fx_active=fx_active,
fx_bypass_states=fx_bypass_states,
hotspot_password=self._get_hotspot_password(),
)
self.display.update(state)
except Exception:
@@ -616,6 +617,7 @@ class PedalApp:
preset_name="Ready",
bank_name="",
bypassed=self._bypassed,
hotspot_password=self._get_hotspot_password(),
)
self.display.update(state)
@@ -623,6 +625,14 @@ class PedalApp:
# Helpers
# ═══════════════════════════════════════════════════════════════
def _get_hotspot_password(self) -> str:
"""Return hotspot password from config, or empty if not configured."""
try:
from src.system.network import get_hotspot_password
return get_hotspot_password()
except Exception:
return ""
def _build_footswitch_layout(self) -> list[FootSwitch]:
"""Build FootSwitch list from config."""
layout_cfg = self._config.get("footswitch", {}).get("layout", DEFAULT_CONFIG["footswitch"]["layout"])