Remove superfluous trailing white space from C files
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
A module creating a slightly modified HMControl object suitable for the
|
||||
ANSTO HM. This works exactly the same as the existing HMControl, but
|
||||
has extra options (e.g. pausing HM's at the end of a count instead of
|
||||
has extra options (e.g. pausing HM's at the end of a count instead of
|
||||
stopping them).
|
||||
|
||||
copyright: see copyright.h
|
||||
|
||||
|
||||
Mark Lesha, October 2006
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
@@ -54,7 +54,7 @@ static int HMCStatus_ANSTO(void *pData, SConnection *pCon)
|
||||
// to support pause-on-count-terminate option for ANSTO HM,
|
||||
// and termination either by counter or by HM.
|
||||
{
|
||||
int status,i;
|
||||
int status,i;
|
||||
pHMcontrol self = NULL;
|
||||
|
||||
self = (pHMcontrol)pData;
|
||||
@@ -66,7 +66,7 @@ static int HMCStatus_ANSTO(void *pData, SConnection *pCon)
|
||||
if(status == HWIdle || status == HWFault)
|
||||
{
|
||||
/*
|
||||
stop counting on slaves when finished or when an error
|
||||
stop counting on slaves when finished or when an error
|
||||
occurred.
|
||||
*/
|
||||
InvokeCallBack(self->pCall,COUNTEND,pCon);
|
||||
@@ -87,7 +87,7 @@ static int HMCStatus_ANSTO(void *pData, SConnection *pCon)
|
||||
*/
|
||||
self->pCount->Pause(self,pCon);
|
||||
releaseMCntrLocks(self->slaveData[0]);
|
||||
ReleaseCountLock(self->pCount); // Release hmc
|
||||
ReleaseCountLock(self->pCount); // Release hmc
|
||||
} else
|
||||
self->pCount->Halt(self);
|
||||
}
|
||||
@@ -107,7 +107,7 @@ static int HMCStatus_ANSTO(void *pData, SConnection *pCon)
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
int HMControlAction_ANSTO(SConnection *pCon, SicsInterp *pSics,
|
||||
int HMControlAction_ANSTO(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData, int argc, char *argv[])
|
||||
// This function extends HMControlAction by looking for an optional fifth
|
||||
// and sixth command argument, which are stored to the expanded command data.
|
||||
@@ -147,7 +147,7 @@ int HMControlAction_ANSTO(SConnection *pCon, SicsInterp *pSics,
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
int MakeHMControl_ANSTO(SConnection *pCon, SicsInterp *pSics,
|
||||
int MakeHMControl_ANSTO(SConnection *pCon, SicsInterp *pSics,
|
||||
void *pData, int argc, char *argv[])
|
||||
{
|
||||
/* Start by making a plain vanilla HMControl object, */
|
||||
|
||||
Reference in New Issue
Block a user