mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 23:05:53 +08:00
Minor fixes to Projector G-code communication
This commit is contained in:
parent
60d0b57443
commit
27d807448f
@ -611,8 +611,12 @@ sub start_print {
|
||||
}
|
||||
Slic3r::debugf "connected to " . $self->config->serial_port . "\n";
|
||||
|
||||
# TODO: this wait should be handled by GCodeSender
|
||||
sleep 4;
|
||||
|
||||
# send custom start G-code
|
||||
$self->sender->send($_, 1) for grep !/^;/, split /\n/, $self->config->start_gcode;
|
||||
$self->sender->("G90", 1); # set absolute positioning
|
||||
}
|
||||
|
||||
$self->is_printing(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user