Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Sep 13, 2021
1 parent d14625d commit d5cc3d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/highlevel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ Returns a `SampleBuffer{N,T}` with fields:
packet_count::Int
timens::Vector{Pair{Int,typeof(1u"ns")}}
where N is the number of channels and T is the vector type of the buffer (typically Vector or )
where N is the number of channels and T is the vector type of the buffer (default: Vector).
`bufs` are the buffers for each channel.
`length` length of the buffer.
Expand Down Expand Up @@ -637,7 +637,6 @@ function Base.write(s::Stream{T}, samplebuffer::SampleBuffer{N, VT}; timeout = n
@assert length(samplebuffer.bufs[i]) == samplebuffer.length
end


for packet in 1:samplebuffer.packet_count
offset = (packet-1)*s.mtu

Expand Down

0 comments on commit d5cc3d8

Please sign in to comment.