Add MIN_SOFTWARE_ENDSTOP_[XYZ] to example configs
This commit is contained in:
		| @@ -805,10 +805,30 @@ | ||||
| #define Y_MAX_POS Y_BED_SIZE | ||||
| #define Z_MAX_POS 250 | ||||
|  | ||||
| // If enabled, axes won't move below MIN_POS in response to movement commands. | ||||
| /** | ||||
|  * Software Endstops | ||||
|  * | ||||
|  * - Prevent moves outside the set machine bounds. | ||||
|  * - Individual axes can be disabled, if desired. | ||||
|  * - X and Y only apply to Cartesian robots. | ||||
|  * - Use 'M211' to set software endstops on/off or report current state | ||||
|  */ | ||||
|  | ||||
| // Min software endstops constrain movement within minimum coordinate bounds | ||||
| #define MIN_SOFTWARE_ENDSTOPS | ||||
| // If enabled, axes won't move above MAX_POS in response to movement commands. | ||||
| #if ENABLED(MIN_SOFTWARE_ENDSTOPS) | ||||
|   #define MIN_SOFTWARE_ENDSTOP_X | ||||
|   #define MIN_SOFTWARE_ENDSTOP_Y | ||||
|   #define MIN_SOFTWARE_ENDSTOP_Z | ||||
| #endif | ||||
|  | ||||
| // Max software endstops constrain movement within maximum coordinate bounds | ||||
| #define MAX_SOFTWARE_ENDSTOPS | ||||
| #if ENABLED(MAX_SOFTWARE_ENDSTOPS) | ||||
|   #define MAX_SOFTWARE_ENDSTOP_X | ||||
|   #define MAX_SOFTWARE_ENDSTOP_Y | ||||
|   #define MAX_SOFTWARE_ENDSTOP_Z | ||||
| #endif | ||||
|  | ||||
| /** | ||||
|  * Filament Runout Sensor | ||||
|   | ||||
		Reference in New Issue
	
	Block a user