Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement FR - Issue#302 #305

Closed
wants to merge 7 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ void MeshValidationHandler::Start() {
// Home X and Y so we droop at the side of the bed.
// G26 with temperature and set for full bed, full pattern, retract 4mm, prime 5mm
char gcodeBuffer[128] = {0};
sprintf_P(gcodeBuffer, PSTR("G90\nG0 X0\nG26 B%d H%d R Q4 P2 X0 Y0"), bed_temperature, nozzle_temperature);
sprintf_P(gcodeBuffer, PSTR("G90\nG0 X0\nG26 B%d H%d R Q4 P15 X%d Y%d"), bed_temperature, nozzle_temperature, X_BED_SIZE / 2, Y_BED_SIZE / 2);
queue.inject(gcodeBuffer);
queue.advance();

// Set feedrate
prev_feedrate = ExtUI::getFeedrate_mm_s();
ExtUI::setFeedrate_mm_s(MESH_VALIDATION_PATTERN_FEEDRATE);

SetStatusMessage("Starting...");
SetStatusMessage("Starting. Prepare tweezers..");
}

void MeshValidationHandler::Cancel() {
Expand Down Expand Up @@ -147,4 +147,4 @@ void MeshValidationHandler::SetStatusMessage(PGM_P statusMessage) {
ScreenHandler.setstatusmessagePGM(statusMessage);
}

#endif
#endif