Akemi memory saver

lossless getPixelColor buffer is not needed for Akemi.
This commit is contained in:
Frank
2024-09-30 17:35:14 +02:00
committed by GitHub
parent 813b3705c1
commit b0a7330a31

View File

@@ -7957,7 +7957,7 @@ uint16_t mode_2DAkemi(void) {
const uint16_t cols = SEGMENT.virtualWidth();
const uint16_t rows = SEGMENT.virtualHeight();
if (SEGENV.call == 0) {SEGMENT.setUpLeds(); SEGMENT.fill(BLACK);}
if (SEGENV.call == 0) {SEGMENT.fill(BLACK);}
uint16_t counter = (strip.now * ((SEGMENT.speed >> 2) +2)) & 0xFFFF;
counter = counter >> 8;