Revert M420 state after G28
As a possible fix for the bug with Cura's end Gcode as described in issue #7, I changed the leveling state to be disabled after homing since Cura uses X homing in their end Gcode.
This commit is contained in:
		| @@ -989,7 +989,7 @@ | |||||||
|  * Normally G28 leaves leveling disabled on completion. Enable |  * Normally G28 leaves leveling disabled on completion. Enable | ||||||
|  * this option to have G28 restore the prior leveling state. |  * this option to have G28 restore the prior leveling state. | ||||||
|  */ |  */ | ||||||
| #define RESTORE_LEVELING_AFTER_G28 | //#define RESTORE_LEVELING_AFTER_G28 | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * Enable detailed logging of G28, G29, M48, etc. |  * Enable detailed logging of G28, G29, M48, etc. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user