GCC: Fix laser being turned on when jogging to job start

master
Jon Nordby 2014-09-04 16:41:13 +02:00
rodzic 6a69b3ed04
commit 4ec75213ec
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -116,6 +116,11 @@ void fab_write_gcc(struct fab_vars *v, char *output_file_name,
// Enter HPGL vector mode
fprintf(output_file,"%%1B");
// Select a pen.
// If this is not done, the first paths will be made with laser on
// - regardless if they are actually pen-up commands
fprintf(output_file,";SP2;");
current_z = 0;
// fprintf(output_file,"YP%d;\n",power);
v->path->segment = v->path->last;