Hahaha double silly

This commit is contained in:
Just Call Me Koko
2025-10-17 10:56:01 -04:00
parent 68085fc6a7
commit 48164bc4ec

View File

@@ -110,6 +110,7 @@ bool Display::isTouchHeld(uint16_t threshold) {
}
void Display::setCalData(bool landscape) {
#ifndef HAS_CYD_TOUCH
if (!landscape) {
#ifdef TFT_SHIELD
uint16_t calData[5] = { 275, 3494, 361, 3528, 4 }; // tft.setRotation(0); // Portrait with TFT Shield
@@ -138,6 +139,7 @@ void Display::setCalData(bool landscape) {
tft.setTouch(calData);
#endif
}
#endif
}
// Function to prepare the display and the menus