Support for TFT & Touch Screens (#18130)
This commit is contained in:
committed by
GitHub
parent
bba157e5bd
commit
117df87d19
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user