From 59f42ccfee043044a7c675573bad08da765116ea Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Tue, 8 Oct 2019 07:56:58 +0200 Subject: [PATCH] minor stuff for 2.2 display --- libraries/SondeLib/Display.cpp | 2 +- libraries/SondeLib/TFT22_ILI9225.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/SondeLib/Display.cpp b/libraries/SondeLib/Display.cpp index 16548b8..84215c0 100644 --- a/libraries/SondeLib/Display.cpp +++ b/libraries/SondeLib/Display.cpp @@ -252,7 +252,7 @@ void ILI9225Display::drawString(uint8_t x, uint8_t y, const char *s) { } void ILI9225Display::drawTile(uint8_t x, uint8_t y, uint8_t cnt, uint8_t *tile_ptr) { - tft->drawTile(x, y, cnt, tile_ptr); + tft->drawTile(x, 2*y, cnt, tile_ptr); #if 0 int i,j; tft->startWrite(); diff --git a/libraries/SondeLib/TFT22_ILI9225.h b/libraries/SondeLib/TFT22_ILI9225.h index 11339da..b67c964 100644 --- a/libraries/SondeLib/TFT22_ILI9225.h +++ b/libraries/SondeLib/TFT22_ILI9225.h @@ -149,7 +149,7 @@ struct _currentFont #if defined (ARDUINO_STM32_FEATHER) #undef USE_FAST_PINIO -#elif defined (__AVR__) || defined(TEENSYDUINO) || defined(ESP8266) || defined (ESP32) || defined(__arm__) +#elif defined (__AVR__) || defined(TEENSYDUINO) || defined(ESP8266) || defined(__arm__) #define USE_FAST_PINIO #endif