Prusa Mini missing T0 for retraction

This commit is contained in:
lawgicau
2020-08-17 10:28:39 +10:00
parent 7c4d46a035
commit ba5cefd154

View File

@ -224,7 +224,7 @@ function processRetraction(){
retraction = retraction.replace(/;G29 ; probe ABL/, "G80 ; mesh bed leveling")
}
if(abl == 4){
retraction = retraction.replace(/G28 ; home all axes/, "M109 S170 ; probing temperature\nG28 ; home all");
retraction = retraction.replace(/G28 ; home all axes/, "M109 S170 T0 ; probing temperature\nG28 ; home all");
retraction = retraction.replace(/;G29 ; probe ABL/, "G29 ; probe ABL");
retraction = retraction.replace(/;M420 S1 ; restore ABL mesh/, "M109 S"+hotendTemp+" T0");
}