Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp

Fix bracketing for CI
This commit is contained in:
mrfaptastic 2023-02-09 07:29:14 +10:00 committed by GitHub
parent cd882d16fc
commit 59071660fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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