Skip to content
Snippets Groups Projects
Commit 65f01e71 authored by Matthias's avatar Matthias
Browse files

added option to only send freshest data

parent 05451e2a
No related merge requests found
......@@ -53,7 +53,7 @@ let buffer = ""; // buffers incoming data
let frameNo = 0; // debug
const packetDelimiter = "EOT"; // string that separates packets
const sendAllPackets = false;
const sendAllPackets = true;
// buffer the FIFO stream, collect pieces of data, and turn into packet stream
fifo.on("data", msg => {
......
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