diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-02-13 07:27:16 +0000 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-02-13 07:27:16 +0000 |
| commit | 77e0abff9057ad73d5700ee2be3ea502ce14622e (patch) | |
| tree | 45b7072cece670c301b8757172771b1e704a5280 | |
| parent | 42f4ce959d9a9c167d148b09eb3aa63c034df936 (diff) | |
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
| -rw-r--r-- | ESP32-HUB75-MatrixPanel-I2S-DMA.h | 4 |
1 files 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) |
