From 0b06914c71c18533da90df85230ac198578669bf Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 25 Mar 2024 16:23:26 +1100 Subject: [PATCH] codal_app/microbithal_microphone: Remove CODAL workaround. Signed-off-by: Damien George --- src/codal_app/microbithal_microphone.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/codal_app/microbithal_microphone.cpp b/src/codal_app/microbithal_microphone.cpp index 6cc571f..91e15d9 100644 --- a/src/codal_app/microbithal_microphone.cpp +++ b/src/codal_app/microbithal_microphone.cpp @@ -116,8 +116,6 @@ void microbit_hal_microphone_start_recording(uint8_t *buf, size_t max_len, size_ if (splitterChannel == NULL) { splitterChannel = uBit.audio.splitter->createChannel(); splitterChannel->setFormat(DATASTREAM_FORMAT_8BIT_UNSIGNED); - // Increase sample period to 64us, so we can get our desired rate. - splitterChannel->requestSampleRate(1000000 / 64); } splitterChannel->requestSampleRate(rate);