Skip to content
Snippets Groups Projects
Commit be83181e authored by Martin Karlsson's avatar Martin Karlsson
Browse files

Added dummy timestamp to comedi stream

parent ec08a130
Branches
No related tags found
No related merge requests found
......@@ -34,7 +34,9 @@ function send(comedistream::ComediStream, cmd::SendTuple)
return
end
function read(comedistream::ComediStream, cmd::ReadTuple)
return ccall((:comedi_read, comedipath), Float64, (Int32,Int32,Int32), cmd[1], cmd[2], cmd[3])
val = ccall((:comedi_read, comedipath), Float64, (Int32,Int32,Int32), cmd[1], cmd[2], cmd[3])
dummy_timestamp = UInt64(0)
return val, dummy_timestamp
end
function send(comedistream::ComediStream)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment