From d18a5a0c8fb6d9bbcf44d9080f81d47bf9d14c4b Mon Sep 17 00:00:00 2001 From: Bodmer Date: Wed, 24 Oct 2018 09:59:26 +0100 Subject: [PATCH] Revert "Fix issue #225" This reverts commit 1e1525010e4469cabd92e93272253be8ae4cc140. --- TFT_eSPI.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/TFT_eSPI.cpp b/TFT_eSPI.cpp index afaedd1..aeb0766 100644 --- a/TFT_eSPI.cpp +++ b/TFT_eSPI.cpp @@ -4160,11 +4160,7 @@ int16_t TFT_eSPI::drawString(const char *string, int poX, int poY, int font) uint16_t cheight = 8 * textsize; #ifdef LOAD_GFXFF - #ifdef SMOOTH_FONT - bool freeFont = (font == 1 && gfxFont && !fontLoaded); - #else - bool freeFont = (font == 1 && gfxFont); - #endif + bool freeFont = (font == 1 && gfxFont && !fontLoaded); if (freeFont) { cheight = glyph_ab * textsize;