Skip to content

Commit 5d1b3b5

Browse files
committed
codal_app/microbithal_microphone: Remove CODAL workaround.
Signed-off-by: Damien George <damien@micropython.org>
1 parent 8528e89 commit 5d1b3b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/codal_app/microbithal_microphone.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ void microbit_hal_microphone_start_recording(uint8_t *buf, size_t max_len, size_
123123
if (splitterChannel == NULL) {
124124
splitterChannel = uBit.audio.splitter->createChannel();
125125
splitterChannel->setFormat(DATASTREAM_FORMAT_8BIT_UNSIGNED);
126-
// Increase sample period to 64us, so we can get our desired rate.
127-
splitterChannel->requestSampleRate(1000000 / 64);
128126
}
129127
splitterChannel->requestSampleRate(rate);
130128

0 commit comments

Comments
 (0)