From 766c8bbb73d24283477de86a5ba2071964eac8fc Mon Sep 17 00:00:00 2001 From: Koennecke Mark Date: Tue, 16 Jun 2015 11:01:51 +0200 Subject: [PATCH] Interrupt handling in motorsec.c did not work, fixed --- motorsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }