summaryrefslogtreecommitdiff
path: root/backend/p5_device.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:19 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:19 +0100
commit351b7328520c16730ceb46e5acae16038c42185e (patch)
treefae21fd5c94f3c3ed0202a95c9ada705482e647b /backend/p5_device.c
parentad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff)
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/p5_device.c')
-rw-r--r--backend/p5_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/p5_device.c b/backend/p5_device.c
index 4a257a7..a9026f0 100644
--- a/backend/p5_device.c
+++ b/backend/p5_device.c
@@ -280,7 +280,7 @@ write_reg2 (int fd, uint8_t index, uint16_t value)
* to check the scanner is correctly working.
* @param fd file descriptor used to access hardware
* @param addr address where to write and read
- * @return SANE_TRUE on succes, SANE_FALSE otherwise
+ * @return SANE_TRUE on success, SANE_FALSE otherwise
*/
static int
memtest (int fd, uint16_t addr)
@@ -615,7 +615,7 @@ test_document (int fd)
/**
* return the amount of scanned data available
* @param fd file descriptor to access scanner
- * @return avaible byte number
+ * @return available byte number
*/
static int
available_bytes (int fd)
@@ -1122,7 +1122,7 @@ cleanup_calibration (P5_Device * dev)
}
/** detect a black scan line
- * parses the given buffer and retrun SANE_TRUE if the line is an
+ * parses the given buffer and return SANE_TRUE if the line is an
* acceptable black line for calibration
* @param buffer data line to parse
* @param pixels number of pixels
@@ -1171,7 +1171,7 @@ is_black_line (uint8_t * buffer, unsigned int pixels, int mode)
}
/** detect a white scan line
- * parses the given buffer and retrun SANE_TRUE if the line is an
+ * parses the given buffer and return SANE_TRUE if the line is an
* acceptable white line for calibration
* @param buffer data line to parse
* @param pixels number of pixels