fixed TFT initialization with display dimmensions

This commit is contained in:
Antonio Vanegas committed 2020-11-27 10:10:00 +01:00
1 parent aabefb6cff
commit 66dc8365f4
1 file changed
+1 -1
+1 -1
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