increase timeout granularity to handle missing acks on culfw-devices
[hmcfgusb] / culfw.c
diff --git a/culfw.c b/culfw.c
index a4c949baff77fdc6e1325c9a236bec427836f7c8..6cfa975736318aeaa7049136555b0148a340aef9 100644 (file)
--- a/culfw.c
+++ b/culfw.c
@@ -141,7 +141,7 @@ int culfw_poll(struct culfw_dev *dev, int timeout)
        pfds[0].fd = dev->fd;
        pfds[0].events = POLLIN;
 
-       ret = poll(pfds, 1, timeout * 1000);
+       ret = poll(pfds, 1, timeout);
        if (ret == -1)
                return -1;
 
Impressum, Datenschutz