Commit 4b69b75b authored by Eurecom's avatar Eurecom

signal output when sync

parent 7c5c6e62
...@@ -1867,8 +1867,12 @@ void *ru_thread_synch(void *arg) { ...@@ -1867,8 +1867,12 @@ void *ru_thread_synch(void *arg) {
} }
*/ */
ru->in_synch=1; ru->in_synch=1;
} // symc_pos > 0
else {
write_output("ru_sync.m","sync",(void*)&sync_corr[0],fp->samples_per_tti*5,1,2);
write_output("ru_rx.m","rxs",(void*)ru->common.rxdata[0][0],fp->samples_per_tti*10,1,1);
} }
} } // ru->in_synch==0
if (release_thread(&ru->proc.mutex_synch,&ru->proc.instance_cnt_synch,"ru_synch_thread") < 0) break; if (release_thread(&ru->proc.mutex_synch,&ru->proc.instance_cnt_synch,"ru_synch_thread") < 0) break;
} // oai_exit } // oai_exit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment