aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Resampler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/Resampler.cpp')
-rw-r--r--Transceiver52M/Resampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/Resampler.cpp b/Transceiver52M/Resampler.cpp
index 8a73b79..72b11a9 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 */