Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix duplex ADF #1088

Merged
merged 13 commits into from
Jan 30, 2025
Merged

Fix duplex ADF #1088

merged 13 commits into from
Jan 30, 2025

Conversation

aaliddell
Copy link
Contributor

Closes #1087 by reading the ADF duplexer capabilities and using that if available

@aaliddell aaliddell marked this pull request as ready for review January 28, 2025 16:24
@aaliddell
Copy link
Contributor Author

This has been tested to work against 9019e in platen, ADF and duplex ADF modes, where previously the duplex ADF failed in 1.6.1

Dead code path for devices without scanToComp, as this will be exercised
later when registration occurs
@aaliddell
Copy link
Contributor Author

aaliddell commented Jan 30, 2025

I have refactored it but the CodeFactor page still links to the previous commit when showing the alert, so might need a restart. Weirdly the complexity factor is supposedly derived from the number of paths through the function and that original one line addition added no new paths, so I don't know why this tripped in the first place when it wasn't before...

@manuc66 manuc66 merged commit 4bd40f6 into manuc66:master Jan 30, 2025
1 of 4 checks passed
@manuc66
Copy link
Owner

manuc66 commented Jan 30, 2025

Fix released

@aaliddell thank you very much for this fix !

@aaliddell aaliddell deleted the fix-duplex-adf branch January 30, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in support of duplex ADF
2 participants