Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
This commit is contained in:
parent
42f4ce959d
commit
77e0abff90
1 changed files with 2 additions and 2 deletions
|
@ -455,7 +455,7 @@ class MatrixPanel_I2S_DMA {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// 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()) {}
|
while(!i2s_parallel_is_previous_buffer_free()) { delay(1); }
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void showDMABuffer()
|
inline void showDMABuffer()
|
||||||
|
@ -470,7 +470,7 @@ class MatrixPanel_I2S_DMA {
|
||||||
i2s_parallel_flip_to_buffer(&I2S1, back_buffer_id);
|
i2s_parallel_flip_to_buffer(&I2S1, back_buffer_id);
|
||||||
|
|
||||||
// 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()) {}
|
while(!i2s_parallel_is_previous_buffer_free()) { delay(1); }
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void setPanelBrightness(int b)
|
inline void setPanelBrightness(int b)
|
||||||
|
|
Loading…
Reference in a new issue