summaryrefslogtreecommitdiffstats
path: root/assets/js/serialUtil.js
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2023-06-06 20:25:44 +0200
committerGitHub <noreply@github.com>2023-06-06 20:25:44 +0200
commit57eda2e09f1d69a28eeb1397053512e20496379b (patch)
treec1fcbffdb157366e05d5e9a5c5fbc3e07ccf9803 /assets/js/serialUtil.js
parentrootLantiq: Fix BREAK received on FTDI using Uint8Array directly (#214) (diff)
downloadhack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.tar
hack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.tar.gz
hack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.tar.bz2
hack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.tar.lz
hack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.tar.xz
hack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.tar.zst
hack-gpon.github.io-57eda2e09f1d69a28eeb1397053512e20496379b.zip
Diffstat (limited to '')
-rw-r--r--assets/js/serialUtil.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/serialUtil.js b/assets/js/serialUtil.js
index 1d58e29..ebef166 100644
--- a/assets/js/serialUtil.js
+++ b/assets/js/serialUtil.js
@@ -103,7 +103,7 @@ class SerialReadWrite {
writer = this.port.writable.getWriter();
}
- writer.write(textEncoder.encode(str));
+ writer.write(this.textEncoder.encode(str));
} finally {
if (writer) {
writer.releaseLock();