Use M109 P1 for Teacup

This commit is contained in:
Alessandro Ranellucci 2012-07-10 19:31:09 +02:00
parent b0138ab5eb
commit 079f6072a6

View File

@ -428,7 +428,9 @@ sub set_bed_temperature {
my ($temperature, $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');
return sprintf "$code %s%d ; $comment\n",
($Slic3r::gcode_flavor eq 'mach3' ? 'P' : 'S'), $temperature;