Minor fixes to fir generator
Initialize variable with "= false", and remove trailing space in comment
Change-Id: I51135c1b6275e910155a0331b741e7d11b03fae2
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 @@
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 @@
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<argc ; i++) {
- printf("%s ", argv[i]);
+ printf(" %s", argv[i]);
}
printf("\n");
if (declarations) {