Commit 5912ceea authored by Skye Yu's avatar Skye Yu

perf: onreceive callback add file unit8Array data

parent 003227e9
{
"name": "jensen",
"version": "1.0.0",
"version": "1.0.1",
"description": "webUSB Tool",
"scripts": {
"prettier": "prettier --write ."
......
......@@ -320,7 +320,7 @@ function Jensen(log) {
}, self.timewait);
if (self.onreceive)
try {
self.onreceive(totalBytes);
self.onreceive(totalBytes, result.data);
} catch (e) {
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment