adds VARIANT_TOUCHSCREEN and ENABLE_TOUCH_INT (#10815)

* addsVARIANT_TOUCHSCREEN and ENABLE_TOUCH_INT

* Remove a duplicated _getTouch function pointer
This commit is contained in:
Jonathan Bennett
2026-06-30 00:28:24 -05:00
committed by GitHub
co-authored by GitHub
parent 21dbe21745
commit 87bb149afb
6 changed files with 87 additions and 1 deletions
+1 -1
View File
@@ -885,7 +885,7 @@ void Screen::setup()
touchScreenImpl1->init();
}
}
#elif HAS_TOUCHSCREEN && !defined(USE_EINK) && !HAS_CST226SE
#elif HAS_TOUCHSCREEN && !defined(USE_EINK) && !VARIANT_TOUCHSCREEN
touchScreenImpl1 =
new TouchScreenImpl1(dispdev->getWidth(), dispdev->getHeight(), static_cast<TFTDisplay *>(dispdev)->getTouch);
touchScreenImpl1->init();