- 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:
9
motreg.c
9
motreg.c
@@ -115,7 +115,14 @@ int StartRegMot(pMotReg self, SConnection *pCon, float fValue){
|
||||
*/
|
||||
|
||||
pDriv->SetValue = oldSet;
|
||||
self->iActive = 1;
|
||||
if(ret == 1){
|
||||
self->iActive = 1;
|
||||
} else {
|
||||
snprintf(pBueffel,131,"ERROR: failed to start motor %s",
|
||||
self->motorName);
|
||||
SCWrite(pCon,pBueffel,eError);
|
||||
self->iActive = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user