mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-17 05:13:25 +00:00
Formatted code (#1007)
* Updated style * Updated files * fixed new line * Updated spacing * File fix WIP * Updated to clang 13 * updated comment style * Removed old comment code
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
#include <array>
|
||||
|
||||
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].right;
|
||||
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].right;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user