diff options
author | Ernesto Castellotti <mail@ernestocastellotti.it> | 2023-06-06 20:25:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 20:25:44 +0200 |
commit | 57eda2e09f1d69a28eeb1397053512e20496379b (patch) | |
tree | c1fcbffdb157366e05d5e9a5c5fbc3e07ccf9803 /assets/js/serialUtil.js | |
parent | rootLantiq: Fix BREAK received on FTDI using Uint8Array directly (#214) (diff) | |
download | hack-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 'assets/js/serialUtil.js')
-rw-r--r-- | assets/js/serialUtil.js | 2 |
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(); |