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 setting gain to max on cameras that don't have a gain quirk #1424

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

crschardt
Copy link
Contributor

The call to setGain happens twice in VisionModule. The first time doesn't check for gain==-1, which indicates that the gain shouldn't be set. This PR removes that line.

@crschardt crschardt requested a review from a team as a code owner September 15, 2024 23:21
Copy link
Contributor

@mcm001 mcm001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If (not after June 2025) then ship it; fi

@mcm001 mcm001 merged commit 24fb6af into master Sep 16, 2024
31 checks passed
@mcm001 mcm001 deleted the fix-inorrectly-setting-gain branch September 16, 2024 03:40
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.

2 participants