Use M109 P1 for Teacup
This commit is contained in:
parent
b0138ab5eb
commit
079f6072a6
@ -428,7 +428,9 @@ sub set_bed_temperature {
|
|||||||
my ($temperature, $wait) = @_;
|
my ($temperature, $wait) = @_;
|
||||||
|
|
||||||
my ($code, $comment) = $wait
|
my ($code, $comment) = $wait
|
||||||
? (($Slic3r::gcode_flavor eq 'makerbot' ? 'M109' : 'M190'), 'wait for bed temperature to be reached')
|
? (($Slic3r::gcode_flavor eq 'makerbot' ? 'M109'
|
||||||
|
: $Slic3r::gcode_flavor eq 'teacup' ? 'M109 P1'
|
||||||
|
: 'M190'), 'wait for bed temperature to be reached')
|
||||||
: ('M140', 'set bed temperature');
|
: ('M140', 'set bed temperature');
|
||||||
return sprintf "$code %s%d ; $comment\n",
|
return sprintf "$code %s%d ; $comment\n",
|
||||||
($Slic3r::gcode_flavor eq 'mach3' ? 'P' : 'S'), $temperature;
|
($Slic3r::gcode_flavor eq 'mach3' ? 'P' : 'S'), $temperature;
|
||||||
|
Loading…
Reference in New Issue
Block a user