Improved repositioning message in motorsec.c
This commit is contained in:
@ -324,7 +324,7 @@ static int SecMotorStatus(void *sulf, SConnection * pCon)
|
|||||||
handleMoveCallback(self, pCon);
|
handleMoveCallback(self, pCon);
|
||||||
status = HWBusy;
|
status = HWBusy;
|
||||||
} else if (strstr(v.v.text, "poserror") != NULL) {
|
} else if (strstr(v.v.text, "poserror") != NULL) {
|
||||||
SCWrite(pCon,"WARNING: Position repositioned",eLog);
|
SCPrintf(pCon,eWarning,"WARNING: %s repositioned", self->name);
|
||||||
status = checkPosition(self, pCon);
|
status = checkPosition(self, pCon);
|
||||||
} else if (strstr(v.v.text, "restart") != NULL) {
|
} else if (strstr(v.v.text, "restart") != NULL) {
|
||||||
SCPrintf(pCon,eLog,"WARNING: restarting motor %s", self->name);
|
SCPrintf(pCon,eLog,"WARNING: restarting motor %s", self->name);
|
||||||
|
Reference in New Issue
Block a user