From 59071660fcb94aaed5b5925815229b7fafbc09f5 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Thu, 9 Feb 2023 07:29:14 +1000 Subject: Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp Fix bracketing for CI --- src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.3.1