Skip to content

Commit

Permalink
Merge pull request #190 from makermelissa/main
Browse files Browse the repository at this point in the history
Serial Console Bug fix
  • Loading branch information
tannewt committed May 14, 2024
2 parents 68e4df7 + 6dbdb3b commit e607c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async function setupXterm() {
state.terminal.loadAddon(new WebLinksAddon());

state.terminal.open(document.getElementById('terminal'));
state.terminal.onData((data) => async function(e) {
state.terminal.onData(async (data) => {
if (await checkConnected()) {
workflow.serialTransmit(data);
}
Expand Down

0 comments on commit e607c25

Please sign in to comment.