added squelch to FM

pull/6/merge
boblark 4 years ago
parent 131bdce9de
commit cc51d84a75
  1. 7
      RadioFMDetector_F32.h

@ -94,9 +94,9 @@
* showError(uint16_t e) Turns error printing in the update function on (e=1) * showError(uint16_t e) Turns error printing in the update function on (e=1)
* or off (e=0). For debug only. * or off (e=0). For debug only.
* *
* Time: For T3.6, an update of a 128 sample block, 370 microseconds, or * Time: For T3.6, an update of a 128 sample block, 430 microseconds, or
* 2.9 microseconds per data point. * 3.4 microseconds per data point.
* For T4.0, 87 microseconds, or 0.68 microseconds per data point. * For T4.0, 97 microseconds, or 0.76 microseconds per data point.
* *
* Error checking: See functions setSampleRate_Hz() and returnInitializeFMError() * Error checking: See functions setSampleRate_Hz() and returnInitializeFMError()
* above. * above.
@ -188,7 +188,6 @@ public:
alpha = 0.5f*(1.0f - gamma); alpha = 0.5f*(1.0f - gamma);
} }
/* void setSampleRate_Hz(float32_t _sampleRate_Hz) { /* void setSampleRate_Hz(float32_t _sampleRate_Hz) {
if (fCenter > _sampleRate_Hz/2.0f) { // Check freq range if (fCenter > _sampleRate_Hz/2.0f) { // Check freq range
initializeFMErrors |= 8; initializeFMErrors |= 8;

Loading…
Cancel
Save