Update esp32_i2s_parallel_dma.cpp
This commit is contained in:
parent
84c250c668
commit
2d5d06129a
1 changed files with 21 additions and 25 deletions
|
@ -604,13 +604,9 @@ static void IRAM_ATTR irq_hndlr(void* arg) { // if we use I2S1 (default)
|
|||
}
|
||||
*/
|
||||
|
||||
|
||||
// THIS WORKS SMOOTHLY EXCEPT FOR THE OFFSET ON MOVING GRAPHICS
|
||||
_dev->int_ena.out_eof = 1;
|
||||
|
||||
// Wait until we're now stuck in a _dmadesc_a loop;
|
||||
active_dma_buffer_output_count = 0;
|
||||
while (!active_dma_buffer_output_count) {}
|
||||
|
||||
if ( current_back_buffer_id == 1) {
|
||||
|
||||
_dmadesc_a[_dmadesc_last].qe.stqe_next = &_dmadesc_b[0];
|
||||
|
|
Loading…
Reference in a new issue