Skip to content

Commit

Permalink
iio_writedev: Fix copy&paste error in size parameter help
Browse files Browse the repository at this point in the history
The help text for iio_writedev was original copied from iio_readdev. There
is a small copy&paste error for the size parameter description which
reference a "capture buffer" while for iio_writedev it should be "transmit
buffer".

Signed-off-by: Lars-Peter Clausen <[email protected]>
  • Loading branch information
larsclausen committed Mar 25, 2020
1 parent 0b8450e commit ee7d71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/iio_writedev.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static const char *options_descriptions[] = {
"Use the network backend with the provided hostname.",
"Use the context with the provided URI.",
"Use the specified trigger.",
"Size of the capture buffer. Default is 256.",
"Size of the transmit buffer. Default is 256.",
"Number of samples to write, 0 = infinite. Default is 0.",
"Buffer timeout in milliseconds. 0 = no timeout",
"Scan for available contexts and if only one is available use it.",
Expand Down

0 comments on commit ee7d71f

Please sign in to comment.