From 66dc8365f4f661d296c75b9879fb471785ec0c73 Mon Sep 17 00:00:00 2001 From: Antonio Vanegas Date: Fri, 27 Nov 2020 10:10:00 +0100 Subject: [PATCH] fixed TFT initialization with display dimmensions --- src/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.cpp b/src/display.cpp index 7e7e5b38..43be8d80 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -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