From e832595e6df3836b0666a0223e766e44e43c2a2b Mon Sep 17 00:00:00 2001 From: Sonny Jeon Date: Sat, 7 Mar 2015 13:32:59 -0700 Subject: [PATCH] Another homing cycle fix. - The homing cycle should be working again. Reverted it back to how it was about a month ago before I started to fiddle with it. Turns out that my past self knew what he was doing. --- grbl/grbl.h | 2 +- grbl/limits.c | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/grbl/grbl.h b/grbl/grbl.h index 2122a50..1ff036e 100644 --- a/grbl/grbl.h +++ b/grbl/grbl.h @@ -23,7 +23,7 @@ // Grbl versioning system #define GRBL_VERSION "0.9i" -#define GRBL_VERSION_BUILD "20150302" +#define GRBL_VERSION_BUILD "20150307" // Define standard libraries used by Grbl. #include diff --git a/grbl/limits.c b/grbl/limits.c index 155aba5..83d93d9 100644 --- a/grbl/limits.c +++ b/grbl/limits.c @@ -163,15 +163,19 @@ void limits_go_home(uint8_t cycle_mask) // Initialize and declare variables needed for homing routine. uint8_t axislock = 0; uint8_t n_active_axis = 0; - system_convert_array_steps_to_mpos(target,sys.position); + system_convert_array_steps_to_mpos(target,sys.position); for (idx=0; idx