- Improvements to the chooper driver for the SANS2 chopper
- Fixes to the new counter and motor drivers - Updated Linux makefiles to linux_def
This commit is contained in:
4
psi.c
4
psi.c
@ -160,7 +160,7 @@ static pMotor CreatePsiMotor(SConnection *pCon, int argc, char *argv[]){
|
||||
return NULL;
|
||||
}
|
||||
} else if(strcmp(argv[1],"ecb") == 0){
|
||||
pDriver = (MotorDriver *)CreateECBMotor(pCon,argc-1,&argv[2]);
|
||||
pDriver = (MotorDriver *)CreateECBMotor(pCon,argc-2,&argv[2]);
|
||||
if(!pDriver){
|
||||
return NULL;
|
||||
}
|
||||
@ -198,8 +198,8 @@ static pCounterDriver CreatePsiCounterDriver(SConnection *pCon,
|
||||
"ERROR: insufficient no of arguments to create ECB counter",
|
||||
eError);
|
||||
return NULL;
|
||||
pNew = MakeECBCounter(argv[3]);
|
||||
}
|
||||
pNew = MakeECBCounter(argv[3]);
|
||||
}
|
||||
return pNew;
|
||||
}
|
||||
|
Reference in New Issue
Block a user