aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-11-26 22:13:38 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-11-26 22:13:38 +0000
commit12f22832d59545a93c4114ceff5b6eb82bd3ec36 (patch)
tree95bd16d480552ad336831c092cbc957341c4f897 /src
parent8f62da2d198e677e09b0994061abd5d81533ac41 (diff)
Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Diffstat (limited to 'src')
-rw-r--r--src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
index 85fb055..0ee3fa2 100644
--- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
+++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
@@ -195,11 +195,13 @@ void MatrixPanel_I2S_DMA::configureDMA(const HUB75_I2S_CFG &_cfg)
int current_dmadescriptor_offset = 0;
// HACK: If we need to split the payload in 1/2 so that it doesn't breach DMA_MAX, lets do it by the colour_depth.
+ /*
int num_dma_payload_colour_depths = m_cfg.getPixelColorDepthBits();
if (frame_buffer[0].rowBits[0]->getColorDepthSize() > DMA_MAX)
{
num_dma_payload_colour_depths = 1;
}
+ */
// Fill DMA linked lists for both frames (as in, halves of the HUB75 panel) in sequence (top to bottom)