Skip to content

Commit e8f41c9

Browse files
Fix úndefined'text in firstlayer test
#340
1 parent 5a8caf5 commit e8f41c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/gcodeprocessing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ function processGcode(formName) {
308308
if(abl == 7){
309309
gcode = gcode.replace(/;G29 ; probe ABL/, "G29 L2 ; Load the mesh stored in slot 1\nG29 J ; Probe 3 points to tilt mesh");
310310
}
311-
312311
// firstlayer test square array
313312
if(name == "firstlayerForm"){
313+
var squares = "";
314314
var originalSquare = firstlayer[nozzleLayer];
315315
for(var i = 0; i <= 4; i++){
316316
var square = "\n; square "+(i+1)+originalSquare;

0 commit comments

Comments
 (0)