summaryrefslogtreecommitdiff
path: root/backend/canon_pp-io.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-12 17:36:10 +0100
commite0d94cf4d39395df1e2c6bb4d967200298c13881 (patch)
treebe5c7cace6697afc753c152d13ad5145d0884a42 /backend/canon_pp-io.c
parent527bedac30eb120915718eb7997e6dacd583512e (diff)
parent84357741a6a6e6430f199b2c3f7498e0e97da9ad (diff)
Update upstream source from tag 'upstream/1.2.1'
Update to upstream version '1.2.1' with Debian dir a9bb43f754a5c9a361b076af3635cc767b7e652e
Diffstat (limited to 'backend/canon_pp-io.c')
-rw-r--r--backend/canon_pp-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/canon_pp-io.c b/backend/canon_pp-io.c
index 0b92b11..9e6e006 100644
--- a/backend/canon_pp-io.c
+++ b/backend/canon_pp-io.c
@@ -178,8 +178,8 @@ int sanei_canon_pp_wake_scanner(struct parport *port, int mode)
usleep(100000);
}
- } while ((i < max_cycles) && (!expect(port,"Scanner wakeup reply 2",
- 0x03, 0x1f, 100000) == 0));
+ } while ((i < max_cycles) && expect(port, "Scanner wakeup reply 2",
+ 0x03, 0x1f, 100000));
/* Block just after chessboarding
Reply 1 (S3 and S4 on, S5 and S7 off) */