From: Bastian Dehn Date: Wed, 28 Feb 2024 14:44:44 +0000 (+0100) Subject: get every time scanner status X-Git-Tag: v1.0.0^2~161 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=02624e1ef35c8a3fca3d5b57d0ba8c2cb1e5d077;p=sane-kds-s2000w-net.git get every time scanner status --- diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index 842c0d7..8b53e27 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -317,11 +317,8 @@ void kds_s2000w_handler_get_parameters(handler* h) return; } - if (!h->current_scan_status->complete_scanned - && h->current_scan_status->available_images <= 0) { - debug_printf(DEBUG, "get scanner status"); - _get_current_scan_status(h); - } + debug_printf(DEBUG, "get scanner status"); + _get_current_scan_status(h); debug_printf_int(DEBUG, "available images", h->current_scan_status->available_images); if (h->current_scan_status->available_images > 0) {