diff options
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r-- | src/OutputUHD.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index 6fd3956..c8f4ea9 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -339,8 +339,8 @@ void UHDWorker::process(struct UHDWorkerData *uwd) } #endif - if (frame->fct % 50 < 4) { - fprintf(stderr, "UHDOut (%f): frame %d tx_second %zu; pps %.9f\n", + if (last_pps > pps_offset) { + fprintf(stderr, "UHDOut (usrp time: %f): frame %d; tx_second %zu; pps %.9f\n", usrp_time, frame->fct, tx_second, pps_offset); } @@ -461,6 +461,11 @@ void UHDWorker::process(struct UHDWorkerData *uwd) } +#else // ENABLE_UHD + fprintf(stderr, "UHDOut UHD DISABLED: Sample %d : valid timestamp %zu + %f\n", + frame->fct, + tx_second, + pps_offset); #endif last_pps = pps_offset; |