- TDC histogram memory driver sort of working
- New class for scripting datafiles - SANS-II almost complete initialization file
This commit is contained in:
12
ecbdriv.c
12
ecbdriv.c
@@ -1177,3 +1177,15 @@ MotorDriver *CreateECBMotor(SConnection *pCon, int argc, char *argv[]){
|
||||
self->errorCode = 0;
|
||||
return (MotorDriver *)self;
|
||||
}
|
||||
/*=======================================================================*/
|
||||
void KillECBMotor(void *pDriver){
|
||||
int i;
|
||||
pECBMotDriv self = (pECBMotDriv)pDriver;
|
||||
|
||||
for(i = 0; i < MAXPAR; i++){
|
||||
if(self->driverPar[i].name != NULL){
|
||||
free(self->driverPar[i].name);
|
||||
}
|
||||
}
|
||||
free(self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user