FIX: The calibration temp of the temp tower is incorrect

Jira: 4382
Change-Id: Ib44f4e0e9309b89a3e6364541d775b30ca4c6d70
This commit is contained in:
zhimin.zeng 2023-09-11 20:56:11 +08:00 committed by Lane.Wei
parent 3c9ea83ede
commit 15d15cd3aa
1 changed files with 1 additions and 1 deletions

View File

@ -2925,7 +2925,7 @@ GCode::LayerResult GCode::process_layer(
}
else if (print.calib_mode() == CalibMode::Calib_Temp_Tower) {
auto offset = static_cast<unsigned int>(print_z / 10.001) * 5;
gcode += writer().set_temperature(print.calib_params().end - offset);
gcode += writer().set_temperature(print.calib_params().start - offset);
}
else if (print.calib_mode() == CalibMode::Calib_Vol_speed_Tower) {
auto _speed = print.calib_params().start + print_z * print.calib_params().step;