|
@@ -1072,15 +1072,14 @@ void process_commands()
|
1072
|
1072
|
}
|
1073
|
1073
|
|
1074
|
1074
|
break;
|
1075
|
|
- case 11: // G10 retract_recover
|
1076
|
|
- if(!retracted)
|
|
1075
|
+ case 11: // G11 retract_recover
|
|
1076
|
+ if(retracted)
|
1077
|
1077
|
{
|
1078
|
1078
|
destination[X_AXIS]=current_position[X_AXIS];
|
1079
|
1079
|
destination[Y_AXIS]=current_position[Y_AXIS];
|
1080
|
1080
|
destination[Z_AXIS]=current_position[Z_AXIS];
|
1081
|
|
-
|
1082
|
1081
|
current_position[Z_AXIS]+=retract_zlift;
|
1083
|
|
- current_position[E_AXIS]+=-retract_recover_length;
|
|
1082
|
+ destination[E_AXIS]=current_position[E_AXIS]+retract_length+retract_recover_length;
|
1084
|
1083
|
feedrate=retract_recover_feedrate;
|
1085
|
1084
|
retracted=false;
|
1086
|
1085
|
prepare_move();
|