mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-14 20:18:13 +00:00
Merge pull request #77 from sharebrained/furrtek_master
Audio: use ADC right channel for microphone.
This commit is contained in:
commit
7facccb71f
@ -36,5 +36,5 @@ void AudioInput::read_audio_buffer(buffer_s16_t& audio) {
|
||||
auto audio_buffer = audio::dma::rx_empty_buffer();
|
||||
|
||||
for (size_t i=0; i<audio_buffer.count; i++)
|
||||
audio.p[i] = audio_buffer.p[i].left;
|
||||
audio.p[i] = audio_buffer.p[i].right;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user