Skip to content

Commit

Permalink
Update input_i2s2.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankBoesing authored May 1, 2020
1 parent f0c7c0f commit 2e2b1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input_i2s2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void AudioInputI2S2::isr(void)
dest_right = &(right->data[offset]);
AudioInputI2S2::block_offset = offset + AUDIO_BLOCK_SAMPLES/2;

arm_dcache_delete(src, sizeof(i2s2_rx_buffer) / 2);
arm_dcache_delete((void*)src, sizeof(i2s2_rx_buffer) / 2);

do {
*dest_left++ = *src++;
Expand Down

0 comments on commit 2e2b1bd

Please sign in to comment.