removed conditional declare

pull/13/head
boblark 3 years ago
parent a8a82af2a5
commit 4dc9715961
  1. 8
      RadioIQMixer_F32.cpp

@ -38,14 +38,18 @@ void RadioIQMixer_F32::update(void) {
if (!blockIn0)
return;
if(twoChannel) {
if(twoChannel)
{
blockIn1 = AudioStream_F32::receiveWritable_f32(1);
if (!blockIn1) {
if (!blockIn1)
{
AudioStream_F32::release(blockIn0);
if(errorPrintIQM) Serial.println("IQMIXER-ERR: No 1 input memory");
return;
}
}
else
blockIn1 = NULL;
// Try to get a pair of blocks for the IQ output
blockOut_i = AudioStream_F32::allocate_f32();

Loading…
Cancel
Save