From c68549d861b004d5ca5726411b891f70c1c8cbd8 Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Sun, 7 May 2023 15:24:51 +0200 Subject: [PATCH] modification of get_samplerate_and_bw(): add break where needed --- common/utils/nr/nr_common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/utils/nr/nr_common.c b/common/utils/nr/nr_common.c index 1baf99d1f2..4ffbe71ded 100644 --- a/common/utils/nr/nr_common.c +++ b/common/utils/nr/nr_common.c @@ -449,6 +449,7 @@ void get_samplerate_and_bw(int mu, *tx_bw = 50e6; *rx_bw = 50e6; } + break; case 216: if (threequarter_fs) { *sample_rate=46.08e6; @@ -474,6 +475,7 @@ void get_samplerate_and_bw(int mu, *tx_bw = 20e6; *rx_bw = 20e6; } + break; case 106: if (threequarter_fs) { *sample_rate=23.04e6; @@ -501,6 +503,7 @@ void get_samplerate_and_bw(int mu, *tx_bw = 10e6; *rx_bw = 10e6; } + break; case 25: if (threequarter_fs) { *sample_rate=5.76e6;