Skip to content

Commit

Permalink
Merge pull request Smoothieware#556 from RepRapMorgan/scara_home_updates
Browse files Browse the repository at this point in the history
Homing updated for Morgan SCARA
  • Loading branch information
wolfmanjm committed Dec 17, 2014
2 parents 6a0f846 + d0280b9 commit 610ac8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/tools/endstops/Endstops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ void Endstops::on_gcode_received(void *argument)
case 500: // save settings
case 503: // print settings
gcode->stream->printf(";Home offset (mm):\nM206 X%1.2f Y%1.2f Z%1.2f\n", home_offset[0], home_offset[1], home_offset[2]);
if (is_delta) {
if (this->is_delta || this->is_scara) {
gcode->stream->printf(";Trim (mm):\nM666 X%1.3f Y%1.3f Z%1.3f\n", trim_mm[0], trim_mm[1], trim_mm[2]);
gcode->stream->printf(";Max Z\nM665 Z%1.3f\n", this->homing_position[2]);
}
Expand Down

0 comments on commit 610ac8b

Please sign in to comment.