From 3e4bbbda5cdc9ede4aeba07fb9fc05fe11465b0c Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 1 Oct 2019 10:45:25 +0200 Subject: [PATCH] fix PSS threshold value in cell_search --- lib/examples/cell_search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/examples/cell_search.c b/lib/examples/cell_search.c index 1d2a1c481..72b73af43 100644 --- a/lib/examples/cell_search.c +++ b/lib/examples/cell_search.c @@ -223,7 +223,7 @@ int main(int argc, char **argv) { exit(-1); } else if (n > 0) { for (int i=0;i<3;i++) { - if (found_cells[i].psr > 10.0) { + if (found_cells[i].psr > 2.0) { srslte_cell_t cell; cell.id = found_cells[i].cell_id; cell.cp = found_cells[i].cp; @@ -241,7 +241,7 @@ int main(int argc, char **argv) { results[n_found_cells].power = found_cells[i].peak; n_found_cells++; } - } + } } } }