Update ESP32-HUB75-MatrixPanel-I2S-DMA.h

This commit is contained in:
mrfaptastic 2021-02-13 07:27:16 +00:00
parent 42f4ce959d
commit 77e0abff90

View file

@ -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)