Skip to content

Commit 44ef6e2

Browse files
committed
🩹 Fix Y_STOP_PIN alias for Y_MAX_PIN
1 parent 9bbbcd4 commit 44ef6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/pins/pins_postprocess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@
638638
#endif
639639
#elif Y_HOME_TO_MIN
640640
#define Y_STOP_PIN Y_MIN_PIN
641-
#elif X_HOME_TO_MAX
641+
#elif Y_HOME_TO_MAX
642642
#define Y_STOP_PIN Y_MAX_PIN
643643
#endif
644644
#if !defined(Y2_STOP_PIN) && ENABLED(Y_DUAL_ENDSTOPS) && PIN_EXISTS(Y_STOP)

0 commit comments

Comments
 (0)