Fixed sync_test for extended CP

master
ismagom 10 years ago
parent e3dd3c3f88
commit e5c1d00a7c

@ -119,6 +119,8 @@ int main(int argc, char **argv) {
fprintf(stderr, "Error initiating PSS/SSS\n"); fprintf(stderr, "Error initiating PSS/SSS\n");
return -1; return -1;
} }
srslte_sync_set_cp(&sync, cp);
/* Set a very high threshold to make sure the correlation is ok */ /* Set a very high threshold to make sure the correlation is ok */
srslte_sync_set_threshold(&sync, 5.0); srslte_sync_set_threshold(&sync, 5.0);

Loading…
Cancel
Save