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