From b06643a2e07c4d9d80a5ec4aaa02b436c1522621 Mon Sep 17 00:00:00 2001 From: Sonny Jeon Date: Fri, 1 Mar 2013 10:50:36 -0700 Subject: [PATCH] Bug fix to-do note on soft limit checks. Not yet completed. --- motion_control.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/motion_control.c b/motion_control.c index 04900a2..0834940 100644 --- a/motion_control.c +++ b/motion_control.c @@ -57,6 +57,9 @@ void mc_line(float *target, float feed_rate, uint8_t invert_feed_rate) if (bit_istrue(settings.flags,BITFLAG_SOFT_LIMIT_ENABLE)) { uint8_t i; for (i=0; i settings.max_travel[i])) { // TODO: Need to make this more in-line with the rest of the alarm and runtime execution handling. // Not quite right. Also this should force Grbl to feed hold and exit, rather than stopping and alarm @@ -265,13 +268,13 @@ void mc_go_home() float target[N_AXIS]; target[X_AXIS] = target[Y_AXIS] = target[Z_AXIS] = settings.homing_pulloff; if (HOMING_LOCATE_CYCLE & (1<