increase timeout granularity to handle missing acks on culfw-devices
[hmcfgusb] / hmsniff.c
index 39133d3111cae2b235fedb80b86319a6fe089f08..a3cbe7a244ffd96304018b7e5a383a68bee62f13 100644 (file)
--- a/hmsniff.c
+++ b/hmsniff.c
@@ -201,7 +201,7 @@ int main(int argc, char **argv)
                                rdata.wrong_hmid = 0;
                                hmcfgusb_send(dev, (unsigned char*)"K", 1, 1);
                        }
-                       fd = hmcfgusb_poll(dev, 1);
+                       fd = hmcfgusb_poll(dev, 1000);
                        if (fd >= 0) {
                                fprintf(stderr, "activity on unknown fd %d!\n", fd);
                                continue;
Impressum, Datenschutz