0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-04-02 11:29:17 +00:00

🩹 Conditional include probe.h

This commit is contained in:
Scott Lahteine 2023-06-06 02:58:28 -05:00
parent 4b8e4ef38e
commit 35016633d8
2 changed files with 7 additions and 2 deletions

View file

@ -60,7 +60,9 @@
#include "../HAL/shared/eeprom_api.h" #include "../HAL/shared/eeprom_api.h"
#endif #endif
#include "probe.h" #if HAS_BED_PROBE
#include "probe.h"
#endif
#if HAS_LEVELING #if HAS_LEVELING
#include "../feature/bedlevel/bedlevel.h" #include "../feature/bedlevel/bedlevel.h"

View file

@ -24,7 +24,6 @@
#include "tool_change.h" #include "tool_change.h"
#include "probe.h"
#include "motion.h" #include "motion.h"
#include "planner.h" #include "planner.h"
#include "temperature.h" #include "temperature.h"
@ -92,6 +91,10 @@
#include "../feature/pause.h" #include "../feature/pause.h"
#endif #endif
#if HAS_BED_PROBE
#include "probe.h"
#endif
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP) #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#if TOOLCHANGE_FS_WIPE_RETRACT <= 0 #if TOOLCHANGE_FS_WIPE_RETRACT <= 0
#undef TOOLCHANGE_FS_WIPE_RETRACT #undef TOOLCHANGE_FS_WIPE_RETRACT