diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-06-24 19:36:32 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2021-06-24 19:36:32 +0100 |
| commit | 2c3919ffcf103758ce4a52e892c7960a43944e75 (patch) | |
| tree | 66f3cdf961377149a20b8c8ec41e72f134af3ad0 | |
| parent | 14ddd3a0bc922bb0d31b0f3d753b071e1d444fbc (diff) | |
Revert "Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp"
This reverts commit d339efac3ca4026880dad3b0d49f9efc36074219.
| -rw-r--r-- | ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp index 05ca84f..c21d2a1 100644 --- a/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp +++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp @@ -636,8 +636,8 @@ void MatrixPanel_I2S_DMA::clearFrameBuffer(bool _buff_id){ row = dma_buff.rowBits[row_idx]->getDataPtr(coloridx, _buff_id); // drive latch while shifting out last bit of RGB data - row[dma_buff.rowBits[row_idx]->width - 1] |= BIT_LAT; // -1 pixel to compensate array index starting at 0 - row[dma_buff.rowBits[row_idx]->width - 2] |= BIT_LAT; // hack / test - increase latch to two cycles. + row[dma_buff.rowBits[row_idx]->width - 2] |= BIT_LAT; // -1 pixel to compensate array index starting at 0 + row[dma_buff.rowBits[row_idx]->width - 1] |= BIT_LAT; // -1 pixel to compensate array index starting at 0 // need to disable OE before/after latch to hide row transition // Should be one clock or more before latch, otherwise can get ghosting |
