Z_DUAL_ENDSTOP - make offset a configuration item

The offset for Z_DUAL_ENDSTOP (z_endstop_adj) is already in Marlin.
This PR just makes it a configuration item.

z_endstop_adj is initialized in two places so both had to be modified.
This commit is contained in:
Scott Lahteine
2017-03-20 06:10:31 -05:00
committed by Bob-the-Kuhn
parent 3b6333c613
commit 62cbaa302e
19 changed files with 23 additions and 1 deletions

View File

@ -285,6 +285,7 @@
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0 // use M666 command to determine this value
#endif
#endif // Z_DUAL_STEPPER_DRIVERS