From ba5cefd154349e7e4f7f7adea01c6f8038e36984 Mon Sep 17 00:00:00 2001 From: lawgicau Date: Mon, 17 Aug 2020 10:28:39 +1000 Subject: [PATCH] Prusa Mini missing T0 for retraction --- js/gcodeprocessing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gcodeprocessing.js b/js/gcodeprocessing.js index f5d53b2..53c27cb 100644 --- a/js/gcodeprocessing.js +++ b/js/gcodeprocessing.js @@ -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"); }