Skip to content

Commit 418cd44

Browse files
committed
Setting circular buffer as optoinal parameter
1 parent 25203db commit 418cd44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AdalmPluto.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ end
923923
send(pluto,buffer;repeat=false)
924924
Send the buffer `buffer` with the Pluto device. If flag is set to true, repeat the transmission indefinively. If use_internal_buffer is set to true, the buffer used is the one already stored in the Pluto device (it saves buffer re-alloc)
925925
"""
926-
function send(pluto::PlutoSDR,buffer;flag=false,use_internal_buffer=false)
926+
function send(pluto::PlutoSDR,buffer,flag=false;use_internal_buffer=false)
927927
# We need to populate the internal buffer of the Pluto
928928
# As AD9361 takes 14 bits, we should somehow convert the input stream to Int, then <<2 to have MSB aligned, and write to the Pluto Tx buffer
929929
# From external buffer, populate internal Pluto buffer

0 commit comments

Comments
 (0)