aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-08-17 10:51:24 +0100
committerGitHub <noreply@github.com>2021-08-17 10:51:24 +0100
commitc050d541f3e1dd40560c0d1733f20526fc774b23 (patch)
treeaee56b78378cc85bd4633b17646400addab426f5
parent97308637b4371c153a46d5774f7332055ae5d766 (diff)
Update ESP32-HUB75-MatrixPanel-I2S-DMA.h
Reset initialized to false on delete.
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index a5f1bad..e13be32 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -407,6 +407,9 @@ class MatrixPanel_I2S_DMA {
if (m_cfg.double_buff)
delete dmadesc_b;
+
+ initialized = false;
+
}