diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-05-18 07:43:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2021-05-18 07:43:35 +0200 |
commit | 9f8889f928ce86ba4a78659d378c6ba29bc9f735 (patch) | |
tree | c9567cb0d015b68ce3da8d03472b6443f1cb1ca9 /backend/p5_device.c | |
parent | 446e9454b8cbe5b689149415d11d36e88442ca88 (diff) | |
parent | 154785ab2d5df7ddc8c2cf813b773c340e5e2aea (diff) |
Merge branch 'release/debian/1.0.32-1'debian/1.0.32-1
Diffstat (limited to 'backend/p5_device.c')
-rw-r--r-- | backend/p5_device.c | 8 |
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 |