Skip to content

Commit

Permalink
馃┕ Conditional include probe.h
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 6, 2023
1 parent 4b8e4ef commit 3501663
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Marlin/src/module/settings.cpp
Expand Up @@ -60,7 +60,9 @@
#include "../HAL/shared/eeprom_api.h"
#endif

#include "probe.h"
#if HAS_BED_PROBE
#include "probe.h"
#endif

#if HAS_LEVELING
#include "../feature/bedlevel/bedlevel.h"
Expand Down
5 changes: 4 additions & 1 deletion Marlin/src/module/tool_change.cpp
Expand Up @@ -24,7 +24,6 @@

#include "tool_change.h"

#include "probe.h"
#include "motion.h"
#include "planner.h"
#include "temperature.h"
Expand Down Expand Up @@ -92,6 +91,10 @@
#include "../feature/pause.h"
#endif

#if HAS_BED_PROBE
#include "probe.h"
#endif

#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
#if TOOLCHANGE_FS_WIPE_RETRACT <= 0
#undef TOOLCHANGE_FS_WIPE_RETRACT
Expand Down

0 comments on commit 3501663

Please sign in to comment.