From db629d87c87b905ce3e60457eebf4e6552943260 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Wed, 29 Jul 2020 22:33:18 +0100 Subject: Minor fixes --- ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp') diff --git a/ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp b/ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp index 4666967..286cab1 100644 --- a/ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp +++ b/ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp @@ -269,6 +269,8 @@ bool RGB64x32MatrixPanel_I2S_DMA::allocateDMAmemory() delay(1000); #endif + // Just os we know + everything_OK = true; return true; @@ -389,16 +391,12 @@ void RGB64x32MatrixPanel_I2S_DMA::configureDMA(int r1_pin, int g1_pin, int b1_ delay(1000); #endif - - // Just os we know - everything_OK = true; - + } // end initMatrixDMABuff - /* Update a specific co-ordinate in the DMA buffer */ void RGB64x32MatrixPanel_I2S_DMA::updateMatrixDMABuffer(int16_t x_coord, int16_t y_coord, uint8_t red, uint8_t green, uint8_t blue) { -- cgit v1.3.1