Skip to content

Commit

Permalink
Merge pull request #73 from francisduvivier/master
Browse files Browse the repository at this point in the history
Fix production build of webusb_site
  • Loading branch information
tjclement authored Sep 25, 2024
2 parents 79d8585 + f15fc17 commit 25bfb62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webusb_site/src/webusb.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function buildpacket(size, command) {
}

export function buildpacketWithFilename(size, command, filename) {
let {buffer, message_id} = buildpacket(filename.length+1+size, command, message_id);
let {buffer, message_id} = buildpacket(filename.length+1+size, command);
for(let i = 0; i<filename.length; i++) {
buffer[packetheadersize+i] = filename.charCodeAt(i);
}
Expand Down Expand Up @@ -455,4 +455,4 @@ export function connect() {
.then(() => {
readdata();
});
}
}

0 comments on commit 25bfb62

Please sign in to comment.