From 12f22832d59545a93c4114ceff5b6eb82bd3ec36 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:13:38 +0000 Subject: [PATCH] Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp --- src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)