Skip to content

Commit 0b06914

Browse files
committed
codal_app/microbithal_microphone: Remove CODAL workaround.
Signed-off-by: Damien George <[email protected]>
1 parent 753c68e commit 0b06914

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/codal_app/microbithal_microphone.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ void microbit_hal_microphone_start_recording(uint8_t *buf, size_t max_len, size_
116116
if (splitterChannel == NULL) {
117117
splitterChannel = uBit.audio.splitter->createChannel();
118118
splitterChannel->setFormat(DATASTREAM_FORMAT_8BIT_UNSIGNED);
119-
// Increase sample period to 64us, so we can get our desired rate.
120-
splitterChannel->requestSampleRate(1000000 / 64);
121119
}
122120
splitterChannel->requestSampleRate(rate);
123121

0 commit comments

Comments
 (0)