mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-03 05:55:18 +01:00
Fix inaccurate error message when TX completes near a 1 second boundary.
This commit is contained in:
committed by
Michael Ossmann
parent
98faa5429f
commit
cb8fc333aa
@@ -1413,7 +1413,7 @@ int main(int argc, char** argv)
|
||||
|
||||
time_start = time_now;
|
||||
|
||||
if ((completed_count_now == 0) && (!hw_sync)) {
|
||||
if ((completed_count_now == 0) && (!hw_sync) && (!tx_complete)) {
|
||||
exit_code = EXIT_FAILURE;
|
||||
fprintf(stderr,
|
||||
"\nCouldn't transfer any bytes for one second.\n");
|
||||
|
||||
Reference in New Issue
Block a user