Skip to content

Commit b24c32f

Browse files
finneyjmicrobit-carlos
authored andcommitted
Reduce clicking noise on microphone acivation
1 parent 7434fd4 commit b24c32f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/MicroBitAudio.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ void MicroBitAudio::activateMic(){
109109
runmic.setDigitalValue(1);
110110
runmic.setHighDrive(true);
111111
adc.activateChannel(mic);
112+
adc.getChannel(microphone, false)->setStartDelay(2);
112113
this->micEnabled = true;
113114
}
114115

0 commit comments

Comments
 (0)