diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2023-02-09 07:29:14 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-09 07:29:14 +1000 |
| commit | 59071660fcb94aaed5b5925815229b7fafbc09f5 (patch) | |
| tree | 3730f9ff7df08007ee78942d589baf29124bf1f0 /src | |
| parent | cd882d16fcecb33b22e1572d26a15ae72d3456e5 (diff) | |
Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Fix bracketing for CI
Diffstat (limited to 'src')
| -rw-r--r-- | src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp index 0f71e52..dea7ce6 100644 --- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp +++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp @@ -711,7 +711,7 @@ void MatrixPanel_I2S_DMA::brtCtrlOEv2(uint8_t brt, const int _buff_id) { --colouridx; char bitplane = ( 2 * _depth - colouridx ) % _depth; - char bitshift = _depth - lsbMsbTransitionBit - 1 >> 1; + char bitshift = (_depth - lsbMsbTransitionBit - 1) >> 1; char rightshift = std::max( bitplane - bitshift - 2, 0 ); // calculate the OE disable period by brightness, and also blanking |
