- Removed -fwritable-string
SKIPPED: psi/dornier2.c psi/ecbdriv.c psi/el734hp.c psi/libpsi.a psi/make_gen psi/makefile_linux psi/pimotor.c psi/pipiezo.c psi/sinqhttp.c psi/tcpdornier.c psi/velodornier.c
This commit is contained in:
17
motreglist.c
17
motreglist.c
@@ -62,7 +62,7 @@ int CheckAllMotors(int iList, SConnection *pCon){
|
||||
if(pMot != NULL){
|
||||
CheckRegMot(pMot,pCon);
|
||||
if(pMot->iActive){
|
||||
count++;
|
||||
count++;
|
||||
}
|
||||
}
|
||||
iRet = LLDnodePtr2Next(iList);
|
||||
@@ -91,6 +91,21 @@ void StopAllMotors(int iList){
|
||||
}
|
||||
}
|
||||
/*----------------------------------------------------------------------*/
|
||||
void DeactivateAllMotors(int iList){
|
||||
int iRet, count = 0;
|
||||
pMotReg pMot = NULL;
|
||||
pIDrivable pDriv;
|
||||
|
||||
iRet = LLDnodePtr2First(iList);
|
||||
while(iRet != 0){
|
||||
LLDnodeDataTo(iList,&pMot);
|
||||
if(pMot != NULL){
|
||||
pMot->iActive = 0;
|
||||
}
|
||||
iRet = LLDnodePtr2Next(iList);
|
||||
}
|
||||
}
|
||||
/*----------------------------------------------------------------------*/
|
||||
void KillMotList(int iList){
|
||||
int iRet;
|
||||
pMotReg pMot = NULL;
|
||||
|
||||
Reference in New Issue
Block a user