diff options
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(); |