Browse Source

Move PROBE_SELECTED to an earlier point

pull/1/head
Scott Lahteine 8 years ago
parent
commit
1968983f35
  1. 4
      Marlin/Conditionals_LCD.h
  2. 2
      Marlin/Conditionals_post.h

4
Marlin/Conditionals_LCD.h

@ -22,7 +22,7 @@
/**
* Conditionals_LCD.h
* LCD Defines that depend on configuration but are not editable.
* Conditionals that need to be set before Configuration_adv.h or pins.h
*/
#ifndef CONDITIONALS_LCD_H // Get the LCD defines which are needed first
@ -316,4 +316,6 @@
#define TOOL_E_INDEX current_block->active_extruder
#endif
#define PROBE_SELECTED (ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))
#endif //CONDITIONALS_LCD_H

2
Marlin/Conditionals_post.h

@ -586,8 +586,6 @@
#endif
#endif
#define PROBE_SELECTED (ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED))
#define PROBE_PIN_CONFIGURED (HAS_Z_MIN_PROBE_PIN || (HAS_Z_MIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)))
#define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)

Loading…
Cancel
Save