Skip to content

Commit

Permalink
Issue #3: fix problem with Z homing
Browse files Browse the repository at this point in the history
  • Loading branch information
bobc committed Dec 28, 2011
1 parent 8350f1d commit 1ac1641
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R2C2-RepRap_firmware/RepRap/Mendel/gcode_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,15 @@ static void zero_y(void)
static void zero_z(void)
{
// hit endstops, no acceleration- we don't care about skipped steps
SpecialMoveZ(startpoint.z - 250, config.homing_feedrate_z);

SpecialMoveZ(startpoint.z - 250, config.homing_feedrate_z);
synch_queue();

// move forward a bit
SpecialMoveZ(startpoint.z + 1, config.search_feedrate_z);
synch_queue();

// move back in to endstops slowly
SpecialMoveZ(startpoint.z - 6, config.search_feedrate_z);

synch_queue();

// this is our home point
Expand Down

0 comments on commit 1ac1641

Please sign in to comment.