- 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

@ -214,7 +214,7 @@ static int EL734Run(void *pData,float fValue){
self = (pEL734Driv)pData;
assert(self);
self->oredMsr = 0;
self->oredMsr = 3;
snprintf(pCommand,79,"p %d %.3f\r",self->iMotor,fValue);
status = transactEL734(self->controller,pCommand,strlen(pCommand),
pReply,79);
@ -632,6 +632,7 @@ MotorDriver *CreateEL734HP(SConnection *pCon, int argc, char *argv[]){
pNew->KillPrivate = KillEL734;
pNew->controller = controller;
pNew->iMotor = motor;
pNew->oredMsr = 3;
/*
connection will already have been set up, read limits