Skip to content

Commit 49e16b7

Browse files
committed
Corrected interpolation of sine, minor change in values
1 parent b222b60 commit 49e16b7

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

RadioFMDetector_F32.cpp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* RadioFMDetector_F32.cpp
33
*
4-
* 22 March 2020
4+
* 25 April 2022
55
* Bob Larkin, in support of the library:
66
* Chip Audette, OpenAudio, Apr 2017
77
* -------------------
@@ -57,23 +57,17 @@ void RadioFMDetector_F32::update(void) {
5757
return;
5858
}
5959

60-
// If there's no coefficient table, give up.
61-
if (fir_IQ_Coeffs == NULL) {
62-
if(errorPrintFM) Serial.println("FMDET-ERR: No IQ FIR Coefficients");
63-
AudioStream_F32::release(blockIn);
64-
return;
65-
}
6660

6761
if (fir_Out_Coeffs == NULL) {
68-
if(errorPrintFM) Serial.println("FMDET-ERR: No Out FIR Coefficients");
62+
//if(errorPrintFM) Serial.println("FMDET-ERR: No Out FIR Coefficients");
6963
AudioStream_F32::release(blockIn);
7064
return;
7165
}
7266

7367
// Try to get a block for the FM output
7468
blockOut = AudioStream_F32::allocate_f32();
7569
if (!blockOut){ // Didn't have any
76-
if(errorPrintFM) Serial.println("FMDET-ERR: No Output Memory");
70+
//if(errorPrintFM) Serial.println("FMDET-ERR: No Output Memory");
7771
AudioStream_F32::release(blockIn);
7872
return;
7973
}

0 commit comments

Comments
 (0)