- Modified dubiuos limit code in ECBSetValue
- Added subsampling to sinqhmdriv
This commit is contained in:
@@ -48,9 +48,12 @@ typedef struct {
|
||||
char *pFile;
|
||||
}Polterdi, *pPolterdi;
|
||||
|
||||
|
||||
/* ------------------- forward declaration of task function --------------*/
|
||||
static int PoldiTask(void *pData);
|
||||
static void PoldiUpdate(pPolterdi self, SConnection *pCon);
|
||||
static void PoldiStart(pPolterdi s, SConnection *pCon);
|
||||
static void PoldiLink(pPolterdi s, SConnection *pCon);
|
||||
|
||||
/*------------------ The Countstart Callback Function ----------------------*/
|
||||
static int Countstartcallback(int iEvent, void *pEventData, void *pUser,
|
||||
@@ -70,7 +73,7 @@ typedef struct {
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
/*------------------ The Countend Callback Function ----------------------*/
|
||||
static int Countendcallback(int iEvent, void *pEventData, void *pUser,
|
||||
commandContext cc)
|
||||
@@ -83,7 +86,12 @@ typedef struct {
|
||||
assert(self);
|
||||
self->tUpdate = time(NULL);
|
||||
self->iEnd = 1;
|
||||
PoldiUpdate(self,self->pCon);
|
||||
if(self->iNew == 1){
|
||||
PoldiStart(self,self->pCon);
|
||||
PoldiLink(self, self->pCon);
|
||||
} else {
|
||||
PoldiUpdate(self,self->pCon);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user