From cb6c80d0e63b966f69b1c56f32c03fdef759726e Mon Sep 17 00:00:00 2001 From: Koennecke Mark Date: Thu, 12 May 2016 09:45:26 +0200 Subject: [PATCH] Improved repositioning message in motorsec.c --- motorsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motorsec.c b/motorsec.c index f6ee04c3..efa7637b 100644 --- a/motorsec.c +++ b/motorsec.c @@ -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 repositioned",eLog); + SCPrintf(pCon,eWarning,"WARNING: %s repositioned", self->name); status = checkPosition(self, pCon); } else if (strstr(v.v.text, "restart") != NULL) { SCPrintf(pCon,eLog,"WARNING: restarting motor %s", self->name);