We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a82af commit 4dc9715Copy full SHA for 4dc9715
1 file changed
RadioIQMixer_F32.cpp
@@ -38,14 +38,18 @@ void RadioIQMixer_F32::update(void) {
38
if (!blockIn0)
39
return;
40
41
- if(twoChannel) {
42
- blockIn1 = AudioStream_F32::receiveWritable_f32(1);
43
- if (!blockIn1) {
44
- AudioStream_F32::release(blockIn0);
45
- if(errorPrintIQM) Serial.println("IQMIXER-ERR: No 1 input memory");
46
- return;
47
- }
48
+ if(twoChannel)
+ {
+ blockIn1 = AudioStream_F32::receiveWritable_f32(1);
+ if (!blockIn1)
+ AudioStream_F32::release(blockIn0);
+ if(errorPrintIQM) Serial.println("IQMIXER-ERR: No 1 input memory");
+ return;
49
+ }
50
51
+ else
52
+ blockIn1 = NULL;
53
54
// Try to get a pair of blocks for the IQ output
55
blockOut_i = AudioStream_F32::allocate_f32();
0 commit comments