Skip to content

Commit 6626ebe

Browse files
committed
Bug fix minutes LEDs NeoPixel
1 parent 626563e commit 6626ebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LedDriverNeoPixel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@ void LedDriverNeoPixel::writeScreenBufferToMatrix(word matrix[16], boolean onCha
262262
_setPixel(110 + i, color);
263263
}
264264
else {
265-
if (((_matrixOld[cornerLedCount[i]] & 0b0000000000011111) > 0) ) {
265+
if (((_matrixOld[cornerLedCount[i]] & 0b0000000000010000) > 0) ) {
266266
_setPixel(110 + i, colorOld);
267267
}
268-
else if (((_matrixNew[cornerLedCount[i]] & 0b0000000000011111) > 0) ) {
268+
else if (((_matrixNew[cornerLedCount[i]] & 0b0000000000010000) > 0) ) {
269269
_setPixel(110 + i, colorNew);
270270
}
271271
}

0 commit comments

Comments
 (0)