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; }