Add HAS_SOFTWARE_ENDSTOPS macro

This commit is contained in:
Scott Lahteine
2017-03-16 17:20:24 -05:00
parent 3e927ff204
commit e4649c9044
3 changed files with 10 additions and 10 deletions

View File

@ -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