From c050d541f3e1dd40560c0d1733f20526fc774b23 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Tue, 17 Aug 2021 10:51:24 +0100 Subject: [PATCH] Update ESP32-HUB75-MatrixPanel-I2S-DMA.h Reset initialized to false on delete. --- ESP32-HUB75-MatrixPanel-I2S-DMA.h | 3 +++ 1 file changed, 3 insertions(+) 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; + }