fixed TFT initialization with display dimmensions
This commit is contained in:
parent
aabefb6cff
commit
66dc8365f4
@ -53,7 +53,7 @@ QRCode qrcode;
|
|||||||
#if (HAS_DISPLAY) == 1
|
#if (HAS_DISPLAY) == 1
|
||||||
OBDISP ssoled;
|
OBDISP ssoled;
|
||||||
#elif (HAS_DISPLAY) == 2
|
#elif (HAS_DISPLAY) == 2
|
||||||
TFT_eSPI tft = TFT_eSPI();
|
TFT_eSPI tft = TFT_eSPI(MY_DISPLAY_WIDTH, MY_DISPLAY_HEIGHT);
|
||||||
#else
|
#else
|
||||||
#error Unknown display type specified in hal file
|
#error Unknown display type specified in hal file
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user