From 489377a6a9638286731c474eda407b0e22377206 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Fri, 20 Jun 2014 18:55:47 +0100 Subject: [PATCH] Bugfix - initializing dc flag --- lte/phy/lib/utils/src/dft.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lte/phy/lib/utils/src/dft.c b/lte/phy/lib/utils/src/dft.c index dda8512b2..6b4ddad48 100644 --- a/lte/phy/lib/utils/src/dft.c +++ b/lte/phy/lib/utils/src/dft.c @@ -65,6 +65,7 @@ int dft_plan_c(dft_plan_t *plan, const int dft_points, dft_dir_t dir) { plan->mirror = false; plan->db = false; plan->norm = false; + plan->dc = false; return 0; } @@ -83,6 +84,7 @@ int dft_plan_r(dft_plan_t *plan, const int dft_points, dft_dir_t dir) { plan->mirror = false; plan->db = false; plan->norm = false; + plan->dc = false; return 0; }