mirror of https://github.com/PentHertz/srsLTE.git
Merge branch 'master' into uplink
This commit is contained in:
commit
4e2f9311b7
|
@ -55,7 +55,7 @@ add_executable(pdsch_ue pdsch_ue.c cuhd_utils.c)
|
|||
target_link_libraries(pdsch_ue lte_rrc lte_phy)
|
||||
|
||||
add_executable(pdsch_enodeb pdsch_enodeb.c)
|
||||
target_link_libraries(pdsch_enodeb lte_rrc lte_phy)
|
||||
target_link_libraries(pdsch_enodeb lte_rrc lte_phy pthread)
|
||||
|
||||
IF(${CUHD_FIND} EQUAL -1)
|
||||
SET_TARGET_PROPERTIES(pdsch_ue PROPERTIES COMPILE_DEFINITIONS "DISABLE_UHD")
|
||||
|
|
|
@ -144,8 +144,10 @@ int main(int argc, char **argv) {
|
|||
uint32_t N_id_2 = cell_id%3;
|
||||
uint32_t N_id_1 = cell_id/3;
|
||||
|
||||
#ifndef DISABLE_GRAPHICS
|
||||
if (!disable_plots)
|
||||
init_plots();
|
||||
#endif
|
||||
|
||||
flen = 4800*(fft_size/64);
|
||||
|
||||
|
@ -270,8 +272,13 @@ int main(int argc, char **argv) {
|
|||
INFO("No space for CFO computation. Frame starts at \n",peak_idx);
|
||||
}
|
||||
|
||||
if (!disable_plots && sss_synch_subframe(m0,m1) == 0)
|
||||
if(sss_synch_subframe(m0,m1) == 0)
|
||||
{
|
||||
#ifndef DISABLE_GRAPHICS
|
||||
if (!disable_plots)
|
||||
do_plots_sss(sss.corr_output_m0, sss.corr_output_m1);
|
||||
#endif
|
||||
}
|
||||
|
||||
} else {
|
||||
nof_nodet++;
|
||||
|
@ -302,8 +309,10 @@ int main(int argc, char **argv) {
|
|||
printf("\n");
|
||||
}
|
||||
|
||||
#ifndef DISABLE_GRAPHICS
|
||||
if (!disable_plots)
|
||||
do_plots(pss.conv_output_avg, pss.conv_output_avg[peak_idx], pss.fft_size+pss.frame_size-1, ce);
|
||||
#endif
|
||||
|
||||
last_peak = peak_idx;
|
||||
|
||||
|
|
Loading…
Reference in New Issue