From bf5d0666b803921541e6a5d6abae05316e533855 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Mon, 2 Mar 2015 11:22:06 -0800 Subject: Minor fixes to fir generator Initialize variable with "= false", and remove trailing space in comment Change-Id: I51135c1b6275e910155a0331b741e7d11b03fae2 --- tools/resampler_tools/fir.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/resampler_tools/fir.cpp b/tools/resampler_tools/fir.cpp index 4d0981b..fe4d212 100644 --- a/tools/resampler_tools/fir.cpp +++ b/tools/resampler_tools/fir.cpp @@ -99,7 +99,7 @@ int main(int argc, char** argv) double Fc = 20478; double atten = 1; int format = 0; // 0=fixed, 1=float - bool declarations = 0; + bool declarations = false; // in order to keep the errors associated with the linear // interpolation of the coefficients below the quantization error @@ -230,9 +230,9 @@ int main(int argc, char** argv) for (int i = M-1 ; i; i>>=1, nz++); // generate the right half of the filter if (!debug) { - printf("// cmd-line: "); + printf("// cmd-line:"); for (int i=0 ; i