summaryrefslogtreecommitdiff
path: root/backend/rts8891_low.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
commitecaaf250cb33ff61f37a7b441f2337584a655350 (patch)
tree4303648095deff998ae20c2393b56db527742ac9 /backend/rts8891_low.h
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parent351b7328520c16730ceb46e5acae16038c42185e (diff)
Update upstream source from tag 'upstream/1.0.32'
Update to upstream version '1.0.32' with Debian dir 2c1111c59d9d68bcbf479a4a4de7697fe2de127f
Diffstat (limited to 'backend/rts8891_low.h')
-rw-r--r--backend/rts8891_low.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/backend/rts8891_low.h b/backend/rts8891_low.h
index 6b12316..453800c 100644
--- a/backend/rts8891_low.h
+++ b/backend/rts8891_low.h
@@ -15,9 +15,7 @@
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- MA 02111-1307, USA.
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
As a special exception, the authors of SANE give permission for
additional uses of the libraries contained in this release of SANE.
@@ -60,7 +58,7 @@
/* Flags */
#define RTS8891_FLAG_UNTESTED (1 << 0) /* Print a warning for these scanners */
-#define RTS8891_FLAG_EMULATED_GRAY_MODE (2 << 0) /* gray scans are emulated using comor modes */
+#define RTS8891_FLAG_EMULATED_GRAY_MODE (2 << 0) /* gray scans are emulated using color modes */
#define LOWORD(x) ((uint16_t)(x & 0xffff))
#define HIWORD(x) ((uint16_t)(x >> 16))
@@ -98,7 +96,7 @@ typedef struct Rts8891_Device Rts8891_Device;
#define TIMING2_REG 0x8a /* holds REG8180+2 */
-/* this struc describes a particular model which is handled by the backend */
+/* this struct describes a particular model which is handled by the backend */
/* available resolutions, physical goemetry, scanning area, ... */
typedef struct Rts8891_Model
{
@@ -168,11 +166,11 @@ struct Rts8891_Device
/**< USB device number for libusb */
SANE_Int devnum;
SANE_String file_name;
- Rts8891_Model *model; /* points to a structure that decribes model specifics */
+ Rts8891_Model *model; /* points to a structure that describes model specifics */
SANE_Int sensor; /* sensor id */
- SANE_Bool initialized; /* true if device has been intialized */
+ 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 */