PSI update

r1464 | ffr | 2007-02-12 12:20:21 +1100 (Mon, 12 Feb 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-02-12 12:20:21 +11:00
committed by Douglas Clowes
parent 634f2023b1
commit 3168325921
157 changed files with 29053 additions and 910 deletions

8
velo.c
View File

@@ -326,6 +326,7 @@ static void VSListForbidden(pVelSel self, SConnection *pCon){
pVelSel VSCreate(pMotor pTilt, pVelSelDriv pDriv)
{
pVelSel pNew = NULL;
SConnection *pCon = NULL;
assert(pTilt);
assert(pDriv);
@@ -389,7 +390,12 @@ static void VSListForbidden(pVelSel self, SConnection *pCon){
/* deal with that motor, have him AccessCode Internal */
pNew->pTilt = pTilt;
ObParInit(pTilt->ParArray,8,"accesscode",(float)usInternal,usInternal);
pCon = SCCreateDummyConnection(pServ->pSics);
if(pCon != NULL)
{
MotorSetPar(pTilt,pCon,"accesscode",(float)usInternal);
SCDeleteConnection(pCon);
}
/* enter driver */
pNew->pDriv = pDriv;