Skip to content

Commit

Permalink
quit debug
Browse files Browse the repository at this point in the history
  • Loading branch information
acien101 committed Jul 26, 2018
1 parent d1747c2 commit 90c3bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcpDecodeAPRS.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var server = net.createServer(function(socket) { //Callback function
direwolf.stdout.on('data', function (data) {
var header = createHeader(primHeader.version, primHeader.pType, primHeader.secHeaderFlag, 0, primHeader.seqFlag,
primHeader.seqCount, (data.length - 1).toString(2)); //Length minus 1 see doc

socket.write(Buffer.concat([header, data], header.length + data.length)); //Write the header first and then the data
});

Expand Down

0 comments on commit 90c3bb7

Please sign in to comment.