Skip to content

Commit

Permalink
Fix local storage breaking USB connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebrother committed Nov 26, 2023
1 parent 9e15f6a commit 77dd1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fp30remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@
// Connect midioutput
midioutput = midiDevices[value].output;
setConnectionStatus(1);
localStorage.setitem("midi", value);
localStorage.setItem("midi", value);

await new Promise(r => setTimeout(r, 100)); // sleep 100ms
let midiinput = midiDevices[value].input;
Expand Down

0 comments on commit 77dd1ee

Please sign in to comment.