PSI update
r1464 | ffr | 2007-02-12 12:20:21 +1100 (Mon, 12 Feb 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
634f2023b1
commit
3168325921
8
velo.c
8
velo.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user