Skip to content

Commit

Permalink
Fix setting gain to max on cameras that don't have a gain quirk (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
crschardt committed Sep 16, 2024
1 parent 5460585 commit 24fb6af
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ boolean setPipeline(int index) {

visionSource.getSettables().setVideoModeInternal(pipelineSettings.cameraVideoModeIndex);
visionSource.getSettables().setBrightness(pipelineSettings.cameraBrightness);
visionSource.getSettables().setGain(pipelineSettings.cameraGain);

// If manual exposure, force exposure slider to be valid
if (!pipelineSettings.cameraAutoExposure) {
Expand Down

0 comments on commit 24fb6af

Please sign in to comment.