Some more fine tuning of log output

Corrected a misleading warning in motorsec.c
Fixed a core dump caused by copyNode in sicsdata.c. Was caused by a bad call
to getPointer.
This commit is contained in:
2016-05-10 11:29:09 +02:00
parent e476d19040
commit 7f6b31e098
4 changed files with 4 additions and 5 deletions

View File

@@ -324,7 +324,7 @@ static int SecMotorStatus(void *sulf, SConnection * pCon)
handleMoveCallback(self, pCon);
status = HWBusy;
} else if (strstr(v.v.text, "poserror") != NULL) {
SCWrite(pCon,"WARNING: Position not reached",eLog);
SCWrite(pCon,"WARNING: Position repositioned",eLog);
status = checkPosition(self, pCon);
} else if (strstr(v.v.text, "restart") != NULL) {
SCPrintf(pCon,eLog,"WARNING: restarting motor %s", self->name);