Change end_program() to postamble()

This commit is contained in:
Alessandro Ranellucci 2015-02-15 17:09:17 +01:00
parent 1180a6d83f
commit ba6ae12635
4 changed files with 12 additions and 12 deletions

View file

@ -249,7 +249,7 @@ sub export {
print $fh $gcodegen->writer->set_fan(0);
printf $fh "%s\n", $gcodegen->placeholder_parser->process($self->config->end_gcode);
print $fh $gcodegen->writer->update_progress($gcodegen->layer_count, $gcodegen->layer_count, 1); # 100%
print $fh $gcodegen->writer->end_program();
print $fh $gcodegen->writer->postamble;
$self->print->total_used_filament(0);
$self->print->total_extruded_volume(0);