Add HAS_SOFTWARE_ENDSTOPS macro
This commit is contained in:
parent
3e927ff204
commit
e4649c9044
3 changed files with 10 additions and 10 deletions
|
|
@ -304,7 +304,7 @@ extern float current_position[NUM_AXIS];
|
|||
extern float soft_endstop_min[XYZ];
|
||||
extern float soft_endstop_max[XYZ];
|
||||
|
||||
#if ENABLED(min_software_endstops) || ENABLED(max_software_endstops)
|
||||
#if HAS_SOFTWARE_ENDSTOPS
|
||||
extern bool soft_endstops_enabled;
|
||||
void clamp_to_software_endstops(float target[XYZ]);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue