Merge pull request #9277 from oysteinkrog/fix/DualX_Endstops

[2.0.x] Fix DUAL_X_CARRIAGE endstop tests
This commit is contained in:
Scott Lahteine 2018-01-22 07:42:49 -06:00 committed by GitHub
commit 205c5fa078
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,7 +453,7 @@ void Endstops::update() {
#endif
test_dual_x_endstops(X_MAX, X2_MAX);
#else
if (X_MIN_TEST) UPDATE_ENDSTOP(X, MAX);
if (X_MAX_TEST) UPDATE_ENDSTOP(X, MAX);
#endif
#endif