Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
chipaudette committed Sep 5, 2021
2 parents 5b21332 + a9a082f commit 07a2d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AudioFilterFIR_F32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void AudioFilterFIR_F32::update(void)
}

int AudioFilterFIR_F32::processAudioBlock(audio_block_f32_t *block, audio_block_f32_t *block_new) {
if ((is_enabled == NULL) || (block==NULL) || (block_new==NULL)) return -1;
if ((is_enabled == false) || (block==NULL) || (block_new==NULL)) return -1;

//check to make sure our FIR instance has the right size
if (block->length != configured_block_size) {
Expand Down Expand Up @@ -100,4 +100,4 @@ void AudioFilterFIR_F32::printCoeff(int start_ind, int end_ind) {
Serial.print(", ");
}
Serial.println();
}
}

0 comments on commit 07a2d71

Please sign in to comment.