diff options
author | Samuel O'Brien <sam.obrien@ni.com> | 2020-07-28 13:19:08 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-31 15:09:33 -0500 |
commit | 84c33194ce6056af31393047ea8ce505a3ccf073 (patch) | |
tree | 4f04a4d34586d5e6f2480fda6bf6c639d3f3d717 /host/lib/deps | |
parent | ae2b9bf7aeea6f8f98f6dacffdfc018d87107927 (diff) | |
download | uhd-84c33194ce6056af31393047ea8ce505a3ccf073.tar.gz uhd-84c33194ce6056af31393047ea8ce505a3ccf073.tar.bz2 uhd-84c33194ce6056af31393047ea8ce505a3ccf073.zip |
example: Check for failure in tx_samples_from_file
I was using this example for testing with the simulator. If there is a
flow control failure, the original example would just silently finish,
outputing the message "Done!" (Not even printing a timeout message).
This commit asserts that the number of samples sent is equal to the
number of samples provided.
Signed-off-by: Samuel O'Brien <sam.obrien@ni.com>
Diffstat (limited to 'host/lib/deps')
0 files changed, 0 insertions, 0 deletions