summaryrefslogtreecommitdiff
path: root/backend/rts8891_low.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-05-18 07:43:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-05-18 07:43:35 +0200
commit9f8889f928ce86ba4a78659d378c6ba29bc9f735 (patch)
treec9567cb0d015b68ce3da8d03472b6443f1cb1ca9 /backend/rts8891_low.h
parent446e9454b8cbe5b689149415d11d36e88442ca88 (diff)
parent154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff)
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
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 */