summaryrefslogtreecommitdiff
path: root/backend/genesys/gl646.cpp
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/genesys/gl646.cpp
parentad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff)
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/genesys/gl646.cpp')
-rw-r--r--backend/genesys/gl646.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/backend/genesys/gl646.cpp b/backend/genesys/gl646.cpp
index 61fa1e0..acc1a4b 100644
--- a/backend/genesys/gl646.cpp
+++ b/backend/genesys/gl646.cpp
@@ -22,9 +22,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.
@@ -98,7 +96,7 @@ struct Motor_Master
/**
* master motor settings, for a given motor and dpi,
- * it gives steps and speed informations
+ * it gives steps and speed information
*/
static Motor_Master motor_master[] = {
/* HP3670 motor settings */
@@ -1040,7 +1038,7 @@ gl646_init_regs (Genesys_Device * dev)
dev->reg.find_reg(0x6d).value = 0x01; /* select deceleration steps whenever go home (0), accel/decel stop time (31 * LPeriod) */
break;
}
- dev->reg.find_reg(0x6c).value = 0x00; /* peroid times for LPeriod, expR,expG,expB, Z1MODE, Z2MODE (one period time) */
+ dev->reg.find_reg(0x6c).value = 0x00; /* period times for LPeriod, expR,expG,expB, Z1MODE, Z2MODE (one period time) */
}
// Set values of Analog Device type frontend
@@ -1480,7 +1478,7 @@ void CommandSetGl646::detect_document_end(Genesys_Device* dev) const
* eject document from the feeder
* currently only used by XP200
* TODO we currently rely on AGOHOME not being set for sheetfed scanners,
- * maybe check this flag in eject to let the document being eject automaticaly
+ * maybe check this flag in eject to let the document being eject automatically
*/
void CommandSetGl646::eject_document(Genesys_Device* dev) const
{
@@ -1491,7 +1489,7 @@ void CommandSetGl646::eject_document(Genesys_Device* dev) const
unsigned count;
std::uint8_t gpio;
- /* at the end there will be noe more document */
+ /* at the end there will be no more document */
dev->document = false;
// first check for document event
@@ -2512,7 +2510,7 @@ void CommandSetGl646::init_regs_for_warmup(Genesys_Device* dev, const Genesys_Se
/* *
* initialize ASIC : registers, motor tables, and gamma tables
* then ensure scanner's head is at home
- * @param dev device description of the scanner to initailize
+ * @param dev device description of the scanner to initialize
*/
void CommandSetGl646::init(Genesys_Device* dev) const
{
@@ -2739,7 +2737,7 @@ static void simple_scan(Genesys_Device* dev, const Genesys_Sensor& sensor,
/**
* update the status of the required sensor in the scanner session
- * the button fileds are used to make events 'sticky'
+ * the button fields are used to make events 'sticky'
*/
void CommandSetGl646::update_hardware_sensors(Genesys_Scanner* session) const
{