From 06cef07d6aebc30629978580413ae559ace2d461 Mon Sep 17 00:00:00 2001 From: Jing Chen Date: Tue, 13 Nov 2012 16:39:09 +1100 Subject: [PATCH] implement tclmot r3797 | jgn | 2012-11-13 16:39:09 +1100 (Tue, 13 Nov 2012) | 1 line --- motor.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/motor.c b/motor.c index 7e289182..90cd2b50 100644 --- a/motor.c +++ b/motor.c @@ -52,7 +52,7 @@ #include "splitter.h" #include "status.h" #include "servlog.h" -#include "tclmotdriv.h" +#include "ansto_tclmotdriv.h" #include "site.h" /*------------------------------------------------------------------------- some lokal defines @@ -1118,12 +1118,10 @@ extern MotorDriver *MakePiPiezo(Tcl_Interp *pTcl, char *pArray); SCWrite(pCon,pBueffel,eStatus); } - /* - list driver parameters when appropriate - */ + //list driver parameters when appropriate if(self->pDriver->ListDriverPar != NULL) { - self->pDriver->ListDriverPar(self->pDriver,self->name, pCon); + self->pDriver->ListDriverPar(self->pDriver,self->name, pCon); } } /*--------------------------------------------------------------------------*/