From: Bastian Dehn Date: Sun, 11 Feb 2024 13:36:33 +0000 (+0100) Subject: remove print lines in read loop X-Git-Tag: v1.0.0^2~301 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=56380762316ffb3d9e76681e0058b8d1beebc058;p=sane-kds-s2000w-net.git remove print lines in read loop --- diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c index 83c44fb..65a3811 100644 --- a/src/kds_s2000w_net.c +++ b/src/kds_s2000w_net.c @@ -247,7 +247,6 @@ SANE_Status _sane_kds_s2000w_net_start(SANE_Handle handle) SANE_Status _sane_kds_s2000w_net_read(SANE_Handle handle, SANE_Byte* data, SANE_Int max_length, SANE_Int* length) { - printf("is all scanned: %i\n", current_metadata.scanned_all_complete); int skip_header_bytes = _sane_kds_s2000w_net_find_first_data_byte(current_metadata.image); if (read_size <= 0) { @@ -255,7 +254,6 @@ SANE_Status _sane_kds_s2000w_net_read(SANE_Handle handle, SANE_Byte* data, } if (readed_lines >= current_metadata.lines ) { - printf("Image is loaded\n"); read_size = 0; *length = 0; readed_lines = 0; @@ -291,9 +289,6 @@ SANE_Status _sane_kds_s2000w_net_read(SANE_Handle handle, SANE_Byte* data, readed_lines++; } - printf("length: %i\n", *length); - printf("read size: %i\n", read_size); - return SANE_STATUS_GOOD; }