Skip to content

Commit

Permalink
update condition to check for exposure absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
gautvm committed Mar 31, 2024
1 parent 95f7687 commit e8311e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public void setExposure(double exposure) {
camera.getProperty("raw_exposure_time_absolute").set(scaledExposure);

// Yay thanks v4l for changing names randomly
} else if (camera.getProperty("exposure_time_absolute").getKind() != Kind.kNone
} else if (camera.getProperty("exposure_absolute").getKind() != Kind.kNone
&& camera.getProperty("auto_exposure").getKind() != Kind.kNone) {
// 1=manual-aperature
camera.getProperty("auto_exposure").set(1);
Expand Down

0 comments on commit e8311e6

Please sign in to comment.