aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Transceiver52M/Resampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/Resampler.cpp b/Transceiver52M/Resampler.cpp
index 04aa51c..ff265e8 100644
--- a/Transceiver52M/Resampler.cpp
+++ b/Transceiver52M/Resampler.cpp
@@ -191,7 +191,7 @@ int Resampler::rotate(const float *in, size_t in_len, float *out, size_t out_len
bool Resampler::init(float bw)
{
/* Filterbank filter internals */
- if (initFilters(bw) < 0)
+ if (!initFilters(bw))
return false;
/* Precompute filterbank paths */