From 35928c49976c5d2d45f06c03a04cd0d8c9e5ef09 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Tue, 9 May 2017 09:54:04 +0100 Subject: [PATCH] Adding missing break --- srslte/lib/utils/filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srslte/lib/utils/filter.c b/srslte/lib/utils/filter.c index 40dbe6ab3..cea7cadce 100644 --- a/srslte/lib/utils/filter.c +++ b/srslte/lib/utils/filter.c @@ -83,10 +83,10 @@ void srslte_filt_decim_cc_init(srslte_filt_cc_t *q, int factor, int order) case 3: for(int i = 0; i <(q->num_taps); i++) q->taps[i] = srslte_filt_decim3[(q->num_taps) - 4][i]; + break; case 4: for(int i = 0; i <(q->num_taps); i++) q->taps[i] = srslte_filt_decim4[(q->num_taps) - 4][i]; - break; default: @@ -123,4 +123,4 @@ void srslte_downsample_cc(cf_t *input, cf_t *output, int M, int size) { for (i=0;i