mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
Fixed typos in bed temperature M-codes. #386
This commit is contained in:
@@ -395,8 +395,8 @@ sub set_bed_temperature {
|
|||||||
my ($temperature, $wait) = @_;
|
my ($temperature, $wait) = @_;
|
||||||
|
|
||||||
my ($code, $comment) = $wait
|
my ($code, $comment) = $wait
|
||||||
? (($Slic3r::gcode_flavor eq 'makerbot' ? '109' : '190'), 'wait for bed temperature to be reached')
|
? (($Slic3r::gcode_flavor eq 'makerbot' ? 'M109' : 'M190'), 'wait for bed temperature to be reached')
|
||||||
: ('M40', '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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user