aboutsummaryrefslogtreecommitdiff
path: root/ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-07-29 22:33:18 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-07-29 22:33:18 +0100
commitdb629d87c87b905ce3e60457eebf4e6552943260 (patch)
treebca57f58e11462d549af0f0980c2d12465e088e8 /ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp
parentf30bb5f136a3344e969024ce7195da0e285ac3b3 (diff)
Minor fixes
Diffstat (limited to 'ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp')
-rw-r--r--ESP32-RGB64x32MatrixPanel-I2S-DMA.cpp8
1 files changed, 3 insertions, 5 deletions
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)
{