summaryrefslogtreecommitdiffstats
path: root/assets/js/rootLantiq.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-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();