fix: code review batch 2 — multi-channel, thread safety, DSP reset, MIDI, hotspot, NAM, docs/CI, code quality
CI / test (push) Has been cancelled
CI / test (push) Has been cancelled
This commit is contained in:
@@ -1444,7 +1444,7 @@ function SettingsScreen({ state, connected, refresh }) {
|
||||
const active = state?.wifi?.hotspot_active;
|
||||
try {
|
||||
if (active) await apiPost('/api/wifi/hotspot/disable');
|
||||
else await apiPost('/api/wifi/hotspot/enable', { ssid: 'Pi-Pedal', password: 'pedal1234' });
|
||||
else await apiPost('/api/wifi/hotspot/enable', { ssid: 'Pi-Pedal' });
|
||||
setTimeout(refresh, 2000);
|
||||
} catch (e) { /* ignore */ }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user