Skip to content

Commit ec33197

Browse files
authored
Merge pull request #67 from wtakuo/Sprite_patch
Fixed compilation error with the latest ESP-IDF
2 parents 2a1b0ac + 21ce141 commit ec33197

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utility/Sprite.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,8 @@ void TFT_eSprite::pushColor(uint32_t color, uint16_t len)
523523
else if (_bpp == 8)
524524
pixelColor = (color & 0xE000)>>8 | (color & 0x0700)>>6 | (color & 0x0018)>>3;
525525

526-
// else Nothing to do for 1bpp
526+
else
527+
pixelColor = color;
527528

528529
while(len--) writeColor(pixelColor);
529530
}

0 commit comments

Comments
 (0)