Robin & Longer3D SPI TFT driver (#14595)
This commit is contained in:
committed by
Scott Lahteine
parent
45bde333d5
commit
81d629bc47
@@ -57,6 +57,10 @@
|
||||
#include "gcode/parser.h"
|
||||
#include "gcode/queue.h"
|
||||
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
#include "feature/touch/xpt2046.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(HOST_ACTION_COMMANDS)
|
||||
#include "feature/host_actions.h"
|
||||
#endif
|
||||
@@ -943,6 +947,10 @@ void setup() {
|
||||
// This also updates variables in the planner, elsewhere
|
||||
settings.first_load();
|
||||
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
touch.init();
|
||||
#endif
|
||||
|
||||
#if HAS_M206_COMMAND
|
||||
// Initialize current position based on home_offset
|
||||
LOOP_XYZ(a) current_position[a] += home_offset[a];
|
||||
|
Reference in New Issue
Block a user