Fix typo in Marlin_main.cpp
related to current_position[Z_AXIS] and retract_zlift. '+ =' -> '+=' Fix for #1786
This commit is contained in:
parent
93fdc2951b
commit
23cd54755f
@ -1592,7 +1592,7 @@ void refresh_cmd_timeout(void) { previous_millis_cmd = millis(); }
|
|||||||
else {
|
else {
|
||||||
|
|
||||||
if (retract_zlift > 0.01) {
|
if (retract_zlift > 0.01) {
|
||||||
current_position[Z_AXIS] + =retract_zlift;
|
current_position[Z_AXIS] += retract_zlift;
|
||||||
#ifdef DELTA
|
#ifdef DELTA
|
||||||
sync_plan_position_delta();
|
sync_plan_position_delta();
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user