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:
Bodmer
2020-04-16 14:33:42 +01:00
parent 875b451590
commit e937a3496f
9 changed files with 122 additions and 93 deletions
+4
View File
@@ -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
}