From ae0942283aa873b7045231a8dddacabb07dddc4c Mon Sep 17 00:00:00 2001 From: boblark Date: Sat, 23 Jul 2022 10:29:37 -0700 Subject: [PATCH] Corrected variable name --- radioBFSKmodulator_F32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radioBFSKmodulator_F32.h b/radioBFSKmodulator_F32.h index 73ef80c..505e5ec 100644 --- a/radioBFSKmodulator_F32.h +++ b/radioBFSKmodulator_F32.h @@ -204,9 +204,9 @@ public: // Low pass filter on frequency control line. Set to NULL to omitfilter. void setLPF(float32_t* _FIRdata, float32_t* _FIRcoeff, uint16_t _numCoeffs) { FIRdata = _FIRdata; - if(_FIRCoeff == NULL || _numCoeffs == 0) + if(_FIRcoeff == NULL || _numCoeffs == 0) { - FIRCoeff = NULL; + FIRcoeff = NULL; numCoeffs = 0; return; }