From 77e0abff9057ad73d5700ee2be3ea502ce14622e Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Sat, 13 Feb 2021 07:27:16 +0000 Subject: [PATCH] Update ESP32-HUB75-MatrixPanel-I2S-DMA.h --- ESP32-HUB75-MatrixPanel-I2S-DMA.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h index 002f6f7..d3eea94 100644 --- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h +++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h @@ -455,7 +455,7 @@ class MatrixPanel_I2S_DMA { #endif // 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() @@ -470,7 +470,7 @@ class MatrixPanel_I2S_DMA { i2s_parallel_flip_to_buffer(&I2S1, back_buffer_id); // 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)