Skip to content

Commit

Permalink
Reduce clicking noise on microphone acivation
Browse files Browse the repository at this point in the history
  • Loading branch information
finneyj committed Jan 30, 2025
1 parent 1649355 commit 97b9349
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/MicroBitAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void MicroBitAudio::activateMic(){
runmic.setDigitalValue(1);
runmic.setHighDrive(true);
adc.activateChannel(mic);
adc.getChannel(microphone, false)->setStartDelay(2);
this->micEnabled = true;
}

Expand Down

0 comments on commit 97b9349

Please sign in to comment.