Browse Source

fix warning

dds
Frank 4 years ago
parent
commit
f0c7c0fb03
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      input_i2s.cpp

+ 1
- 1
input_i2s.cpp View File

dest_left = &(left->data[offset]); dest_left = &(left->data[offset]);
dest_right = &(right->data[offset]); dest_right = &(right->data[offset]);
AudioInputI2S::block_offset = offset + AUDIO_BLOCK_SAMPLES/2; AudioInputI2S::block_offset = offset + AUDIO_BLOCK_SAMPLES/2;
arm_dcache_delete(src, sizeof(i2s_rx_buffer) / 2);
arm_dcache_delete((void*)src, sizeof(i2s_rx_buffer) / 2);
do { do {
*dest_left++ = *src++; *dest_left++ = *src++;
*dest_right++ = *src++; *dest_right++ = *src++;

Loading…
Cancel
Save