diff --git a/motorsec.c b/motorsec.c index 723326f7..d33e7076 100644 --- a/motorsec.c +++ b/motorsec.c @@ -350,7 +350,7 @@ static int SecMotorStatus(void *sulf, SConnection * pCon) case HWFault: self->posCount = 10000; handleMoveCallback(self, pCon); - SecMotorGetPar(self, "interrupt", &interrupt); + SecMotorGetPar(self, "interruptmode", &interrupt); if (SCGetInterrupt(pCon) < (int) interrupt) { SCSetInterrupt(pCon, (int) interrupt); }