Skip to content

Commit

Permalink
Set overshoot for e-steps/mesh validation #237
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebazzz committed Apr 12, 2021
1 parent f1a9126 commit 0387b2d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ void MeshValidationHandler::OnMeshValidationFinish() {
}

void MeshValidationHandler::ValidateTemperatures() {
LIMIT(nozzle_temperature, EXTRUDE_MINTEMP, HEATER_0_MAXTEMP);
LIMIT(bed_temperature, 40 /*Hardcoded minimum for G26, apparently*/, BED_MAXTEMP);
LIMIT(nozzle_temperature, EXTRUDE_MINTEMP, HEATER_0_MAXTEMP - HOTEND_OVERSHOOT);
LIMIT(bed_temperature, 40 /*Hardcoded minimum for G26, apparently*/, BED_MAXTEMP - BED_OVERSHOOT);
}

void MeshValidationHandler::SetStatusMessage(PGM_P statusMessage) {
Expand Down

0 comments on commit 0387b2d

Please sign in to comment.