Browse Source

Merge pull request #9277 from oysteinkrog/fix/DualX_Endstops

[2.0.x] Fix DUAL_X_CARRIAGE endstop tests
Scott Lahteine 6 years ago
parent
commit
205c5fa078
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/endstops.cpp

+ 1
- 1
Marlin/src/module/endstops.cpp View File

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

Loading…
Cancel
Save