- Major changes folling the rework of the connection object
- Added support for galil controllers
This commit is contained in:
10
fowrite.c
10
fowrite.c
@@ -67,8 +67,7 @@
|
||||
|
||||
|
||||
/*------------------ The Countstart Callback Function ----------------------*/
|
||||
static int Countstartcallback(int iEvent, void *pEventData, void *pUser,
|
||||
commandContext cc)
|
||||
static int Countstartcallback(int iEvent, void *pEventData, void *pUser)
|
||||
{
|
||||
pFoWrite self = NULL;
|
||||
|
||||
@@ -86,8 +85,7 @@
|
||||
return 1;
|
||||
}
|
||||
/*------------------ The Countend Callback Function ----------------------*/
|
||||
static int Countendcallback(int iEvent, void *pEventData, void *pUser,
|
||||
commandContext cc)
|
||||
static int Countendcallback(int iEvent, void *pEventData, void *pUser)
|
||||
{
|
||||
pFoWrite self = NULL;
|
||||
|
||||
@@ -1021,8 +1019,8 @@
|
||||
|
||||
comCon.transID = 0;
|
||||
strncpy(comCon.deviceID,"internal",SCDEVIDLEN);
|
||||
RegisterCallback(pHMC->pCall,comCon,COUNTSTART,Countstartcallback,pNew,NULL);
|
||||
RegisterCallback(pHMC->pCall,comCon,COUNTEND,Countendcallback,pNew,NULL);
|
||||
RegisterCallback(pHMC->pCall,COUNTSTART,Countstartcallback,pNew,NULL);
|
||||
RegisterCallback(pHMC->pCall,COUNTEND,Countendcallback,pNew,NULL);
|
||||
|
||||
/* install command */
|
||||
AddCommand(pSics,"StoreFocus",FoAction,KillFoWrite,pNew);
|
||||
|
||||
Reference in New Issue
Block a user