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:
@@ -117,6 +117,10 @@ void TFT_eSPI::loadFont(String fontName, bool flash)
|
||||
|
||||
fontFile.seek(0, fs::SeekSet);
|
||||
}
|
||||
#else
|
||||
// Avoid unused varaible warning
|
||||
fontName = fontName;
|
||||
flash = flash;
|
||||
#endif
|
||||
|
||||
gFont.gArray = (const uint8_t*)fontPtr;
|
||||
|
||||
Reference in New Issue
Block a user