🩹 Fix build with Color UI touch items

This commit is contained in:
Scott Lahteine 2024-12-16 15:06:21 -06:00
parent 591b856796
commit a2d3cdde5a
2 changed files with 7 additions and 4 deletions

View file

@ -36,11 +36,9 @@
#include "../../module/probe.h"
#endif
#if HAS_GRAPHICAL_TFT
#if ALL(TOUCH_SCREEN, HAS_GRAPHICAL_TFT)
#include "../tft/tft.h"
#if ENABLED(TOUCH_SCREEN)
#include "../tft/touch.h"
#endif
#include "../tft/touch.h"
#endif
#if EITHER(PROBE_MANUALLY, MESH_BED_LEVELING)

View file

@ -36,6 +36,11 @@
#define XATC_Y_POSITION ((probe.max_y() - probe.min_y())/2)
#endif
#if ALL(TOUCH_SCREEN, HAS_GRAPHICAL_TFT)
#include "../tft/tft.h"
#include "../tft/touch.h"
#endif
void _goto_manual_move_z(const_float_t);
float measured_z, z_offset;