From 652efae78c00b812033ea162d76cd13bd40dcab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 9 Jun 2025 14:27:29 +0200 Subject: New upstream version 1.4.0 --- backend/rts8891_low.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'backend/rts8891_low.h') diff --git a/backend/rts8891_low.h b/backend/rts8891_low.h index 453800c..a15b817 100644 --- a/backend/rts8891_low.h +++ b/backend/rts8891_low.h @@ -72,7 +72,8 @@ #define SENSOR_TYPE_XPA 1 /* sensor for hp4470 sold with XPA */ #define SENSOR_TYPE_4400 2 /* sensor for hp4400 */ #define SENSOR_TYPE_4400_BARE 3 /* sensor for hp4400 */ -#define SENSOR_TYPE_MAX 3 /* maximum sensor number value */ +#define SENSOR_TYPE_UMAX 4 /* sensor for Umax Astra 4400/4450 */ +#define SENSOR_TYPE_MAX 4 /* maximum sensor number value */ /* Forward typedefs */ typedef struct Rts8891_Device Rts8891_Device; @@ -130,6 +131,8 @@ typedef struct Rts8891_Model /* default sensor type */ SANE_Int sensor; + SANE_Int calibration_width; + /* default gamma table */ SANE_Word gamma[256]; SANE_Int buttons; /* number of buttons for the scanner */ @@ -173,6 +176,7 @@ struct Rts8891_Device SANE_Bool initialized; /* true if device has been initialized */ SANE_Bool needs_warming; /* true if device needs warming up */ SANE_Bool parking; /* true if device is parking head */ + SANE_Bool has_uta; /* true if UTA is connected */ /* values detected during find origin */ /* TODO these are currently unused after detection */ -- cgit v1.2.3