From 50cb44b865e27039696773bccd5717b79c9e1cbc Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 16 Oct 2013 12:30:36 +0200 Subject: [PATCH] Wait for heating --- js/gcodeGenerating.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/gcodeGenerating.js b/js/gcodeGenerating.js index 3b4db6b..39afcfd 100644 --- a/js/gcodeGenerating.js +++ b/js/gcodeGenerating.js @@ -125,8 +125,8 @@ function generate_gcode(callback) { // return; console.log("printer temperature: ",temperature); - gcode.push("M104 S" + temperature); // set target temperature and do not wait for the extruder to reach it - //gcode.push("M109 S" + temperature); // set target temperature and wait for the extruder to reach it + //gcode.push("M104 S" + temperature); // set target temperature and do not wait for the extruder to reach it + gcode.push("M109 S" + temperature); // set target temperature and wait for the extruder to reach it // add gcode begin commands gcode = gcode.concat(startGcode);