Skip to content

Commit

Permalink
Removed deactivateLevelSPL entirely as per codal-microbit-v2 issue #222
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnVidler committed Oct 12, 2023
1 parent 348afc4 commit 1370026
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions inc/MicroBitAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ namespace codal
*/
void deactivateMic();

/**
* Dectivate level detector SPL
*/
void deactivateLevelSPL();

/**
* Set normaliser gain
* @param gain value to set the microphone gain to
Expand Down
4 changes: 0 additions & 4 deletions source/MicroBitAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ void MicroBitAudio::deactivateMic(){
runmic.setHighDrive(false);
}

void MicroBitAudio::deactivateLevelSPL(){
levelSPL->activateForEvents( false );
}

void MicroBitAudio::setMicrophoneGain(int gain){
processor->setGain(gain/100);
}
Expand Down

0 comments on commit 1370026

Please sign in to comment.