]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
reduce retry thirdy
authorBastian Dehn <hhaalo@arcor.de>
Tue, 2 Apr 2024 19:02:15 +0000 (21:02 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 2 Apr 2024 19:02:15 +0000 (21:02 +0200)
src/kds_s2000w_net.c

index 473d669b7e6e401ffdcafbab6d16f0b8af0b4dae..491135b5a7702184887f8f94f288f749d9bab1e0 100644 (file)
@@ -170,7 +170,7 @@ SANE_Status _sane_kds_s2000w_net_start(SANE_Handle handle)
                kds_s2000w_handler_start_scan(h);
        }
 
-       for (int i = 0; i < 200; i++) {
+       for (int i = 0; i < 30; i++) {
                kds_s2000w_handler_get_parameters(h);
                if (h->current_metadata->valid)
                        break;