mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-08 04:29:09 +08:00
Merge pull request #3111 from mdebski/temp_comments
Fix incorrect comments to bed temperature setting gcode
This commit is contained in:
commit
06913cc8b8
@ -84,7 +84,7 @@ GCodeWriter::set_temperature(unsigned int temperature, bool wait, int tool)
|
|||||||
std::string code, comment;
|
std::string code, comment;
|
||||||
if (wait && FLAVOR_IS_NOT(gcfTeacup)) {
|
if (wait && FLAVOR_IS_NOT(gcfTeacup)) {
|
||||||
code = "M109";
|
code = "M109";
|
||||||
comment = "wait for temperature to be reached";
|
comment = "set temperature and wait for it to be reached";
|
||||||
} else {
|
} else {
|
||||||
code = "M104";
|
code = "M104";
|
||||||
comment = "set temperature";
|
comment = "set temperature";
|
||||||
@ -119,10 +119,10 @@ GCodeWriter::set_bed_temperature(unsigned int temperature, bool wait)
|
|||||||
} else {
|
} else {
|
||||||
code = "M190";
|
code = "M190";
|
||||||
}
|
}
|
||||||
comment = "set bed temperature";
|
comment = "set bed temperature and wait for it to be reached";
|
||||||
} else {
|
} else {
|
||||||
code = "M140";
|
code = "M140";
|
||||||
comment = "wait for bed temperature to be reached";
|
comment = "set bed temperature";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostringstream gcode;
|
std::ostringstream gcode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user