Add HAS_SOFTWARE_ENDSTOPS macro

This commit is contained in:
Scott Lahteine committed 2017-03-17 06:05:17 -05:00
1 parent 3e927ff204
commit e4649c9044
3 files changed
+10 -10

No files matched your search

+1 -1
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