Support for TFT & Touch Screens (#18130)

This commit is contained in:
Alexander Gavrilenko
2020-07-30 09:43:19 +03:00
committed by GitHub
parent bba157e5bd
commit 117df87d19
176 changed files with 14747 additions and 303 deletions

View File

@@ -80,7 +80,7 @@
#include "feature/direct_stepping.h"
#endif
#if ENABLED(TOUCH_BUTTONS)
#if HAS_TOUCH_XPT2046
#include "feature/touch/xpt2046.h"
#endif
@@ -1006,7 +1006,7 @@ void setup() {
SETUP_RUN(settings.first_load()); // Load data from EEPROM if available (or use defaults)
// This also updates variables in the planner, elsewhere
#if ENABLED(TOUCH_BUTTONS)
#if HAS_TOUCH_XPT2046
SETUP_RUN(touch.init());
#endif