Move PROBE_SELECTED to an earlier point
This commit is contained in:
parent
2c3de5ee46
commit
1968983f35
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Conditionals_LCD.h
|
* 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
|
#ifndef CONDITIONALS_LCD_H // Get the LCD defines which are needed first
|
||||||
@ -316,4 +316,6 @@
|
|||||||
#define TOOL_E_INDEX current_block->active_extruder
|
#define TOOL_E_INDEX current_block->active_extruder
|
||||||
#endif
|
#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
|
#endif //CONDITIONALS_LCD_H
|
||||||
|
@ -586,8 +586,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#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 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)
|
#define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)
|
||||||
|
Loading…
Reference in New Issue
Block a user