Simplify configuration of Z2 endstops
This commit is contained in:
		| @@ -209,9 +209,7 @@ | ||||
|   //#define Z_DUAL_ENDSTOPS | ||||
|  | ||||
|   #if ENABLED(Z_DUAL_ENDSTOPS) | ||||
|     #define Z2_MAX_PIN 36                     //Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36) | ||||
|     const bool Z2_MAX_ENDSTOP_INVERTING = false; | ||||
|     #define DISABLE_XMAX_ENDSTOP              //Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis. | ||||
|     #define Z2_USE_ENDSTOP _XMAX_ | ||||
|   #endif | ||||
|  | ||||
| #endif // Z_DUAL_STEPPER_DRIVERS | ||||
|   | ||||
		Reference in New Issue
	
	Block a user