summaryrefslogtreecommitdiff
path: root/backend/genesys/genesys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/genesys/genesys.cpp')
-rw-r--r--backend/genesys/genesys.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/genesys/genesys.cpp b/backend/genesys/genesys.cpp
index ab1367e..74ef74e 100644
--- a/backend/genesys/genesys.cpp
+++ b/backend/genesys/genesys.cpp
@@ -840,7 +840,8 @@ void scanner_move(Genesys_Device& dev, ScanMethod scan_method, unsigned steps, D
// FIXME: should porbably wait for some timeout
Status status;
- for (unsigned i = 0;; ++i) {
+// for (unsigned i = 0;; ++i) {
+ for(;;) {
status = scanner_read_status(dev);
if (status.is_feeding_finished || (
direction == Direction::BACKWARD && status.is_at_home))