Endstop invert flags as macros instead of const bool
This commit is contained in:
		| @@ -437,13 +437,13 @@ | ||||
| #endif | ||||
|  | ||||
| // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). | ||||
| const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. | ||||
| #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
| #define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= Z Probe Options ============================= | ||||
|   | ||||
		Reference in New Issue
	
	Block a user