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; }