Remove floating point constant
authorDavid Schleef <ds@schleef.org>
Fri, 8 Mar 2002 19:42:29 +0000 (19:42 +0000)
committerDavid Schleef <ds@schleef.org>
Fri, 8 Mar 2002 19:42:29 +0000 (19:42 +0000)
comedi/drivers/dt2814.c

index 4051fcfa219dc3e5687d65bc8f06037d7ad8adc3..63ef4160cb333b605a15fd026f7f85c3e7477b59 100644 (file)
@@ -132,7 +132,7 @@ static int dt2814_ns_to_timer(unsigned int *ns,unsigned int flags)
 
        /* XXX ignores flags */
 
-       f = 1e4; /* ns */
+       f = 10000; /* ns */
        for(i=0;i<8;i++){
                if((2*(*ns))<(f*11))break;
                f *= 10;