Added workaround for the CPLD overlay issue in tx mode

Set back mic samplerate to 24kHz because 48kHz was poop :(
This commit is contained in:
furrtek
2017-11-09 22:25:37 +00:00
parent 4465cfb905
commit 32ae059c44
5 changed files with 19 additions and 5 deletions
+3 -3
View File
@@ -129,9 +129,9 @@ MicTXView::MicTXView(
)
{
pins[P6_2].mode(3); // Set P6_2 pin function to I2S0_RX_SDA
baseband::run_image(portapack::spi_flash::image_tag_mic_tx);
baseband::run_image(portapack::spi_flash::image_tag_mic_tx);
add_children({
&labels,
&vumeter,
@@ -220,7 +220,7 @@ MicTXView::MicTXView(
set_tx(false);
audio::set_rate(audio::Rate::Hz_48000);
audio::set_rate(audio::Rate::Hz_24000);
audio::input::start();
}