SICS-485: Revert r3251 so that we can set "mot interruptmode" to control the if an
HWFault aborts a scan or batch file. r3614 | ffr | 2012-06-21 18:09:49 +1000 (Thu, 21 Jun 2012) | 3 lines
This commit is contained in:
committed by
Douglas Clowes
parent
79c4acc5ad
commit
f8124ccc5c
4
motor.c
4
motor.c
@@ -410,10 +410,6 @@ static void handleMoveCallback(pMotor self, SConnection *pCon)
|
|||||||
{
|
{
|
||||||
handleMoveCallback(self,pCon);
|
handleMoveCallback(self,pCon);
|
||||||
}
|
}
|
||||||
if(status == HWFault) {
|
|
||||||
SCSetInterrupt(pCon,eAbortBatch);
|
|
||||||
}
|
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user