Skip to content

Commit

Permalink
Setting circular buffer as optoinal parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
RGerzaguet committed May 26, 2021
1 parent 25203db commit 418cd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdalmPluto.jl
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ end
send(pluto,buffer;repeat=false)
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)
"""
function send(pluto::PlutoSDR,buffer;flag=false,use_internal_buffer=false)
function send(pluto::PlutoSDR,buffer,flag=false;use_internal_buffer=false)
# We need to populate the internal buffer of the Pluto
# 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
# From external buffer, populate internal Pluto buffer
Expand Down

2 comments on commit 418cd44

@RGerzaguet
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: "Tag with name v0.2.1 already exists and points to a different commit"

Please sign in to comment.