修复:FSSI 刷新期间协调射频路径与 IQ 采集
This commit is contained in:
@@ -370,6 +370,7 @@ static void *iq_spec_thr(void *arg)
|
||||
}
|
||||
|
||||
/* a full window is 26.21 ms = 1.08 ATSC fields; print only a short burst every 30s */
|
||||
#if IQ_ANALYSIS_UART_DEBUG
|
||||
{
|
||||
static time_t log_burst_start = 0;
|
||||
static int log_burst_count = 0;
|
||||
@@ -386,6 +387,7 @@ static void *iq_spec_thr(void *arg)
|
||||
log_burst_count++;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (npkt == IQ_NPKT && ++nraw >= IQ_RAW_EVERY) {
|
||||
FILE *r = fopen("/tmp/iq_raw.bin", "wb"); /* whole contiguous window, for PC-side analysis */
|
||||
if (r) { fwrite(iq_win[buf], 1, IQ_WBYTES, r); fclose(r); }
|
||||
|
||||
Reference in New Issue
Block a user