summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorErnesto Castellotti <mail@ernestocastellotti.it>2023-01-19 00:11:39 +0100
committerGitHub <noreply@github.com>2023-01-19 00:11:39 +0100
commit57b9dbd953ee6af3746010b4d50b5ec323c87b55 (patch)
tree38206b4a523e4b8c1f7b69baababc77b27b498f0 /assets/js
parenthotfix toggle (#130) (diff)
downloadhack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.tar
hack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.tar.gz
hack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.tar.bz2
hack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.tar.lz
hack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.tar.xz
hack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.tar.zst
hack-gpon.github.io-57b9dbd953ee6af3746010b4d50b5ec323c87b55.zip
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/rootLantiq.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/assets/js/rootLantiq.js b/assets/js/rootLantiq.js
index 570133c..317a438 100644
--- a/assets/js/rootLantiq.js
+++ b/assets/js/rootLantiq.js
@@ -191,11 +191,7 @@ async function sendImageMtd(port, data, baudRate, outputErrorCallback, progressC
reader = port.readable.getReader();
writer = port.writable.getWriter();
- await sendXYMini(reader, writer, data, baudRate,
- (byteTransfered) => {
- progressCallback(byteTransfered);
- }
- );
+ await sendXYMini(reader, writer, data, baudRate, progressCallback);
await reader.cancel();
await writer.close();
await port.close();