Robin & Longer3D SPI TFT driver (#14595)

This commit is contained in:
Tanguy Pruvot
2019-07-15 01:16:26 +02:00
committed by Scott Lahteine
parent 45bde333d5
commit 81d629bc47
124 changed files with 1653 additions and 181 deletions

View File

@@ -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];