From 01fce76ffac0865b88618e84f7ba2cb46dfb33e1 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Wed, 8 Aug 2012 17:26:27 +1000 Subject: [PATCH] I think that this is a typo, always returns zero. r3697 | dcl | 2012-08-08 17:26:27 +1000 (Wed, 08 Aug 2012) | 1 line --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface.c b/interface.c index 11c08415..6cf6d884 100644 --- a/interface.c +++ b/interface.c @@ -155,7 +155,7 @@ int GetDrivablePosition(void *pObject, SConnection *pCon, float *fPos) return MotorGetSoftPosition(pMot,pCon,fPos); } value = pDriv->GetValue(pObject,pCon); - if(value < 9999.99) + if(value < -9999.0) { return 0; }