- Major changes folling the rework of the connection object
- Added support for galil controllers
This commit is contained in:
@ -56,8 +56,7 @@ typedef struct {
|
||||
static void PoldiLink(pPolterdi s, SConnection *pCon);
|
||||
|
||||
/*------------------ The Countstart Callback Function ----------------------*/
|
||||
static int Countstartcallback(int iEvent, void *pEventData, void *pUser,
|
||||
commandContext cc)
|
||||
static int Countstartcallback(int iEvent, void *pEventData, void *pUser)
|
||||
{
|
||||
pPolterdi self = NULL;
|
||||
|
||||
@ -75,8 +74,7 @@ typedef struct {
|
||||
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)
|
||||
{
|
||||
pPolterdi self = NULL;
|
||||
|
||||
@ -723,10 +721,9 @@ int PolterInstall(SConnection *pCon, SicsInterp *pSics,
|
||||
KillPolterdi(pNew);
|
||||
return 0;
|
||||
}
|
||||
comCon.transID = 0;
|
||||
strncpy(comCon.deviceID,"internal",SCDEVIDLEN);
|
||||
RegisterCallback(pCall,comCon,COUNTSTART,Countstartcallback,pNew,NULL);
|
||||
RegisterCallback(pCall,comCon,COUNTEND,Countendcallback,pNew,NULL);
|
||||
RegisterCallback(pCall,COUNTSTART,Countstartcallback,pNew,NULL);
|
||||
RegisterCallback(pCall,COUNTEND,Countendcallback,pNew,NULL);
|
||||
|
||||
AddCommand(pSics,"storedata",PolterAction,KillPolterdi,pNew);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user