Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Fix bracketing for CI
This commit is contained in:
parent
cd882d16fc
commit
59071660fc
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ void MatrixPanel_I2S_DMA::brtCtrlOEv2(uint8_t brt, const int _buff_id) {
|
||||||
--colouridx;
|
--colouridx;
|
||||||
|
|
||||||
char bitplane = ( 2 * _depth - colouridx ) % _depth;
|
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 );
|
char rightshift = std::max( bitplane - bitshift - 2, 0 );
|
||||||
// calculate the OE disable period by brightness, and also blanking
|
// calculate the OE disable period by brightness, and also blanking
|
||||||
|
|
Loading…
Reference in a new issue