- Removed -fwritable-string

This commit is contained in:
koennecke
2006-03-31 15:25:04 +00:00
parent c7794e1029
commit 78c0e46935
11 changed files with 45 additions and 37 deletions

View File

@@ -632,8 +632,9 @@ static int controlMotor(pECBMotDriv self, int enable){
usleep(delay);
return 1;
}else {
/*
disable motor
disable air cushions
*/
in.e = 8;
in.b = 11; /* set control signal */
@@ -644,15 +645,21 @@ static int controlMotor(pECBMotDriv self, int enable){
return 0;
}
usleep(delay);
/*
clear enable
*/
in.e = 0;
in.b = 11; /* set control signal */
in.c = -self->ecbIndex;
in.c = self->ecbIndex;
status = ecbExecute(self->ecb,MOPARA,in,&out);
if(status != 1){
self->errorCode = COMMERROR;
return 0;
}
usleep(delay);
return 1;
}
}