Software endstop options as simple switches

This commit is contained in:
Scott Lahteine
2017-03-16 20:03:57 -05:00
parent d01b915085
commit 0e410c9dfd
26 changed files with 162 additions and 138 deletions

View File

@ -1602,10 +1602,10 @@ KeepDrawing:
#if HAS_SOFTWARE_ENDSTOPS
// Limit to software endstops, if enabled
if (soft_endstops_enabled) {
#if ENABLED(min_software_endstops)
#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
min = soft_endstop_min[axis];
#endif
#if ENABLED(max_software_endstops)
#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
max = soft_endstop_max[axis];
#endif
}