Commit 00ac1296 authored by Bodmer's avatar Bodmer

Update Sprite.cpp

parent 489d90c9
......@@ -96,7 +96,7 @@ void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
// This is to make it clear what pointer size is expected to be used
// but casting in the user sketch is needed due to the use of void*
if (_(bpp == 1) && (frames > 1) )
if ( (_bpp == 1) && (frames > 1) )
{
w = (w+7) & 0xFFF8;
_img8_2 = _img8 + ( (w>>3) * h + 1 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment