From 615af5cc4d44cf82c686eb0a958027ebf548f44c Mon Sep 17 00:00:00 2001 From: yagoda Date: Mon, 5 Oct 2020 15:29:24 +0200 Subject: [PATCH] setting seed to constant in prach test --- lib/src/phy/phch/test/prach_test_multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/phch/test/prach_test_multi.c b/lib/src/phy/phch/test/prach_test_multi.c index 15ad1ad45..d54446e4c 100644 --- a/lib/src/phy/phch/test/prach_test_multi.c +++ b/lib/src/phy/phch/test/prach_test_multi.c @@ -150,7 +150,7 @@ int main(int argc, char** argv) srslte_prach_t prach; bool high_speed_flag = false; - srand (time(NULL)); + srand(0); cf_t preamble[MAX_LEN]; memset(preamble, 0, sizeof(cf_t) * MAX_LEN); cf_t preamble_sum[MAX_LEN];