From a1cbec96c6063c435d0dd091cf8369c6700ec5ff Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Thu, 16 Jul 2015 08:35:32 -0600 Subject: [PATCH] credit for lines of code belongs in commit log --- host/hackrf-tools/src/hackrf_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/hackrf-tools/src/hackrf_transfer.c b/host/hackrf-tools/src/hackrf_transfer.c index 8b1adda0..9aac6a6e 100644 --- a/host/hackrf-tools/src/hackrf_transfer.c +++ b/host/hackrf-tools/src/hackrf_transfer.c @@ -387,7 +387,7 @@ int tx_callback(hackrf_transfer* transfer) { bytes_read = fread(transfer->buffer, 1, bytes_to_read, fd); if ((bytes_read != bytes_to_read) || (limit_num_samples && (bytes_to_xfer == 0))) { - if (repeat) { // added by scateu. repeat mode. + if (repeat) { printf("Input file end reached. Rewind to beginning.\n"); rewind(fd); fread(transfer->buffer + bytes_read, 1, bytes_to_read - bytes_read, fd);