Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
This commit is contained in:
parent
c1699bb8fc
commit
849bc84129
1 changed files with 2 additions and 1 deletions
|
@ -505,7 +505,8 @@ class MatrixPanel_I2S_DMA {
|
||||||
// Wait before we allow any writing to the buffer. Stop flicker.
|
// Wait before we allow any writing to the buffer. Stop flicker.
|
||||||
while(i2s_parallel_is_previous_buffer_free() == false) { }
|
while(i2s_parallel_is_previous_buffer_free() == false) { }
|
||||||
|
|
||||||
// Flip to other buffer as the backbuffer. i.e. Graphic changes happen to this buffer (but aren't displayed until showDMABuffer())
|
// Flip to other buffer as the backbuffer.
|
||||||
|
// i.e. Graphic changes happen to this buffer, but aren't displayed until flipDMABuffer() is called again.
|
||||||
back_buffer_id ^= 1;
|
back_buffer_id ^= 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue