Add a command to lift nozzle in default start G-code

This commit is contained in:
Alessandro Ranellucci 2013-03-09 19:51:09 +01:00
parent d50e0af548
commit e71bf48463
2 changed files with 8 additions and 5 deletions

View file

@ -635,7 +635,10 @@ our $Options = {
height => 120,
serialize => sub { join '\n', split /\R+/, $_[0] },
deserialize => sub { join "\n", split /\\n/, $_[0] },
default => 'G28 ; home all axes',
default => <<'END',
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
END
},
'end_gcode' => {
label => 'End G-code',