increase timeout granularity to handle missing acks on culfw-devices
[hmcfgusb] / flash-hmcfgusb.c
index 45d467f08451aa63d76df62fec8dc3136f9eaabb..0f0b9cef707b2b48424942d28b6144bc381d39f1 100644 (file)
@@ -134,7 +134,7 @@ int main(int argc, char **argv)
                        printf("Waiting for ack...\n");
                do {
                        errno = 0;
-                       pfd = hmcfgusb_poll(dev, 1);
+                       pfd = hmcfgusb_poll(dev, 1000);
                        if ((pfd < 0) && errno) {
                                if (errno != ETIMEDOUT) {
                                        perror("\n\nhmcfgusb_poll");
Impressum, Datenschutz