Wykres commitów

5 Commity (3c9b46a096fee6573f77757baf77b8bbd571894c)

Autor SHA1 Wiadomość Data
Ralph Little 31a09f5500 various: convert pre-ANSI declarations to ANSI
Newer clang deprecates the pre-ANSI way to declare functions with no args.
This breaks recent Fedora CI images.
2024-09-05 22:17:27 -07:00
ValdikSS 655b9736c5 xerox_mfp: skip ENDPOINT CLEAR HALT command by default
Some xerox_mfp scanners, such as Samsung SCX-4521F, hangs when
their OUT ENDPOINT receives CLEAR HALT command, which is performed
in usb open and close functions of the backend.
The issue seem to be dependant on USB controller and assumingly
happens due to some sort of incompatibility of USB implementation
in the scanner.

Skip sending this command by default and add
SANE_XEROX_USB_HALT_WORKAROUND env variable to execute
CLEAR HALT commands.
2023-11-02 15:55:55 +03:00
Alex Belkin 58c1e43b83 Indent of xerox_mfp-tcp.c and xerox_mfp-usb.c
This is purely indent commit without any code changes, in
follow-up to 83bbcfe7d5.

Indent command used:
    astyle -A8 -U -H -k3 -W3 -o xerox_mfp-{usb,tcp}.c

Proof that code is not changed:
    git log -w -p xerox_mfp-{usb,tcp}.c
2016-11-06 21:42:52 +03:00
Volker Diels-Grabsch baec5e0395 Use consistently __func__ instead of __FUNCTION__
Some parts of SANE used __FUNCTION__ while other parts used __func__.
Now, __func__ is used consistently throughout the SANE sources.  This
fixes all occurrences of the following GCC warning:

warning: ISO C does not support '__FUNCTION__' predefined identifier
2015-12-20 15:27:45 +09:00
Alex Belkin 842c98d204 Added Samsung SCX-4500W scan over network support for xerox_mfp backend (by Alexander Kuznetsov).
autoconf and automake reconfigure.
2010-09-30 15:11:56 +04:00