diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-01 15:25:04 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-01 15:25:04 +0100 |
commit | 8e5d399808d2270ae9d56c96560a021e594d18a4 (patch) | |
tree | cb83e4c8216cf0e8bcaa17a6f2cb64cf4d7f469a /backend/epson2.c | |
parent | 97e55bdc5cdf59304af739e65f416320bcbcf599 (diff) | |
parent | 302276dc1b90cfc972fb726ca94a23b18f4b0088 (diff) |
Update upstream source from tag 'upstream/1.1.1'
Update to upstream version '1.1.1'
with Debian dir 4cb81ae9eaa2503b9c320ac1e8125f9df6e7f7b3
Diffstat (limited to 'backend/epson2.c')
-rw-r--r-- | backend/epson2.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/backend/epson2.c b/backend/epson2.c index a15a620..5bb75d4 100644 --- a/backend/epson2.c +++ b/backend/epson2.c @@ -15,10 +15,6 @@ * published by the Free Software Foundation, version 2. */ -#define EPSON2_VERSION 1 -#define EPSON2_REVISION 0 -#define EPSON2_BUILD 124 - /* debugging levels: * * 127 e2_recv buffer @@ -900,16 +896,14 @@ SANE_Status sane_init(SANE_Int *version_code, SANE_Auth_Callback __sane_unused__ authorize) { DBG_INIT(); - DBG(2, "%s: " PACKAGE " " VERSION "\n", __func__); - - DBG(1, "epson2 backend, version %i.%i.%i\n", - EPSON2_VERSION, EPSON2_REVISION, EPSON2_BUILD); + DBG(1, "%s: version " VERSION "\n", __func__); - if (version_code != NULL) - *version_code = SANE_VERSION_CODE(SANE_CURRENT_MAJOR, V_MINOR, - EPSON2_BUILD); + /* Keep '124' as our build version. The arg is obsolete by now */ + if (version_code) + *version_code = SANE_VERSION_CODE(SANE_CURRENT_MAJOR, SANE_CURRENT_MINOR, 124); sanei_usb_init(); + sanei_usb_set_timeout(60 * 1000); return SANE_STATUS_GOOD; } |