Removed pause at start waiting for an input byte on the USB. NB this version

has IR Z probe code.  Need to make the ordinary microswitch act as a hard stop
on Z when that is enabled, so it's failsafe.
This commit is contained in:
Adrian Bowyer 2013-10-07 18:55:15 +01:00
parent 6617b7f3a7
commit a3925b2574
2 changed files with 2 additions and 2 deletions

View file

@ -694,7 +694,7 @@ void Line::Init()
alternateInput = NULL; alternateInput = NULL;
alternateOutput = NULL; alternateOutput = NULL;
SerialUSB.begin(BAUD_RATE); SerialUSB.begin(BAUD_RATE);
while (!SerialUSB.available()); //while (!SerialUSB.available());
} }
//*************************************************************************************************** //***************************************************************************************************

View file

@ -742,7 +742,7 @@ inline EndStopHit Platform::Stopped(int8_t drive)
if(ZProbe() < 0) if(ZProbe() < 0)
return lowHit; return lowHit;
else else
return noStop; return noStop;
} }
if(lowStopPins[drive] >= 0) if(lowStopPins[drive] >= 0)
{ {