fixed TFT initialization with display dimmensions

This commit is contained in:
Antonio Vanegas 2020-11-27 10:10:00 +01:00
parent aabefb6cff
commit 66dc8365f4

View File

@ -53,7 +53,7 @@ QRCode qrcode;
#if (HAS_DISPLAY) == 1
OBDISP ssoled;
#elif (HAS_DISPLAY) == 2
TFT_eSPI tft = TFT_eSPI();
TFT_eSPI tft = TFT_eSPI(MY_DISPLAY_WIDTH, MY_DISPLAY_HEIGHT);
#else
#error Unknown display type specified in hal file
#endif