Skip to content

Commit

Permalink
Update createWebSerialPort.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy committed May 9, 2023
1 parent c8f20aa commit 6dc4a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motor-control-board/js/createWebSerialPort.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function createWebSerialPort(rawPort) {
if (byte === TERMINATOR) {

// what's msg structure
// length msg 1 | msg ... | length payload 1 | payload ... | isPromise 1 | promiseIndex 1
// length msg 1 | msg ... | length payload 1 | payload ... | promiseIndex 1

const data = unpack(msg);

Expand Down

0 comments on commit 6dc4a17

Please sign in to comment.