]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
read only in one second
authorBastian Dehn <hhaalo@arcor.de>
Sat, 3 Feb 2024 12:22:45 +0000 (13:22 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 3 Feb 2024 12:22:45 +0000 (13:22 +0100)
src/kds_s2000w_net.c

index 1da5fd2d64f41e519cf94b66aacea4735a0c8df1..e465452a684dfa03c164d459864a0113ce178050 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 #include <sane/sane.h>
 #include "kds_s2000w_option_descriptors.h"
 #include "kds_s2000w_handler.h"
@@ -192,6 +193,7 @@ SANE_Status _sane_kds_s2000w_net_read(SANE_Handle handle, SANE_Byte* data,
        }
 
        *length = length_count;
+       sleep(1);
        return SANE_STATUS_GOOD;
 }