Skip to content

Commit

Permalink
Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcodetastic committed Nov 26, 2023
1 parent 8f62da2 commit 12f2283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 12f2283

Please sign in to comment.