0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-02 07:00:42 +00:00

🎨 Conditional probe.h

This commit is contained in:
Scott Lahteine 2024-08-10 20:20:51 -05:00
parent ab684dc484
commit 8dc8906d78
5 changed files with 18 additions and 5 deletions

View file

@ -27,9 +27,12 @@
#include "../gcode.h" #include "../gcode.h"
#include "../../MarlinCore.h" // for IsRunning() #include "../../MarlinCore.h" // for IsRunning()
#include "../../module/motion.h" #include "../../module/motion.h"
#include "../../module/probe.h" // for probe.offset
#include "../../feature/bedlevel/bedlevel.h" #include "../../feature/bedlevel/bedlevel.h"
#if HAS_PROBE_XY_OFFSET
#include "../../module/probe.h" // for probe.offset
#endif
/** /**
* G42: Move X & Y axes to mesh coordinates (I & J) * G42: Move X & Y axes to mesh coordinates (I & J)
* *

View file

@ -27,7 +27,10 @@
#include "../gcode.h" #include "../gcode.h"
#include "../../feature/bedlevel/bedlevel.h" #include "../../feature/bedlevel/bedlevel.h"
#include "../../module/planner.h" #include "../../module/planner.h"
#include "../../module/probe.h"
#if ENABLED(MARLIN_DEV_MODE)
#include "../../module/probe.h"
#endif
#if ENABLED(EEPROM_SETTINGS) #if ENABLED(EEPROM_SETTINGS)
#include "../../module/settings.h" #include "../../module/settings.h"

View file

@ -40,7 +40,9 @@
#include "../../feature/tmc_util.h" #include "../../feature/tmc_util.h"
#endif #endif
#include "../../module/probe.h" #if HAS_BED_PROBE
#include "../../module/probe.h"
#endif
#if ENABLED(BLTOUCH) #if ENABLED(BLTOUCH)
#include "../../feature/bltouch.h" #include "../../feature/bltouch.h"

View file

@ -38,8 +38,10 @@
#include "../../../sd/cardreader.h" #include "../../../sd/cardreader.h"
#include "../../../module/planner.h" #include "../../../module/planner.h"
#include "../../../module/servo.h" #include "../../../module/servo.h"
#include "../../../module/probe.h"
#if HAS_Z_SERVO_PROBE
#include "../../../module/probe.h"
#endif
#if DISABLED(EMERGENCY_PARSER) #if DISABLED(EMERGENCY_PARSER)
#include "../../../module/motion.h" #include "../../../module/motion.h"
#endif #endif

View file

@ -50,7 +50,6 @@
#include "../../gcode/gcode.h" #include "../../gcode/gcode.h"
#include "../../module/motion.h" #include "../../module/motion.h"
#include "../../module/planner.h" #include "../../module/planner.h"
#include "../../module/probe.h"
#include "../../module/temperature.h" #include "../../module/temperature.h"
#include "../../module/printcounter.h" #include "../../module/printcounter.h"
#include "../../libs/duration_t.h" #include "../../libs/duration_t.h"
@ -82,6 +81,10 @@
#include "../../feature/backlash.h" #include "../../feature/backlash.h"
#endif #endif
#if HAS_BED_PROBE
#include "../../module/probe.h"
#endif
#if HAS_LEVELING #if HAS_LEVELING
#include "../../feature/bedlevel/bedlevel.h" #include "../../feature/bedlevel/bedlevel.h"
#endif #endif