Changes to detect estop. (and simulate it for testing)

probe_state_monitor is called on every step.  So it will alarm if Stop is
pressed when moving or if motion is commanded when it is already pressed.
On Sep 13, 2014 2:25 PM, "Matt DiCicco" <notifications@github.com> wrote:

> In probe.c:
>
> > @@ -49,6 +49,9 @@ void probe_state_monitor()
> >      memcpy(sys.probe_position, sys.position, sizeof(float)*N_AXIS);
> >      SYS_EXEC |= EXEC_FEED_HOLD;
> >    }
> > +  if (ESTOP_PIN & ESTOP_MASK) {
>
> Where is the code to actually stop everything when ESTOP_PIN is set. This
> looks to be the check for probing, but what about normal motion? It doesn't
> look like that's in this diff anywhere.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/keyme/grbl/pull/7/files#r17513594>.
>