forked from Bodmer/TFT_eSPI
Diagnostic sketch update + others
Read_User_Setup updated to be compatible with STM32 and new structure format. Reduction in compiler warnings Update Sprite destructor Update version to 2.2.1
This commit is contained in:
@@ -105,6 +105,10 @@ void* TFT_eSprite::createSprite(int16_t w, int16_t h, uint8_t frames)
|
||||
TFT_eSprite::~TFT_eSprite(void)
|
||||
{
|
||||
deleteSprite();
|
||||
|
||||
#ifdef SMOOTH_FONT
|
||||
if(this->fontLoaded) this->unloadFont();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user