Skip to content

Commit

Permalink
codal_app/microbithal_microphone: Remove CODAL workaround.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Mar 25, 2024
1 parent 753c68e commit 0b06914
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/codal_app/microbithal_microphone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0b06914

Please sign in to comment.