Skip to content

Commit

Permalink
Merge pull request #11 from tom-ard/fix_auto_mode
Browse files Browse the repository at this point in the history
Fix the problem that auto focus cannot be done in auto mode.
  • Loading branch information
ArduCAM authored Jan 31, 2023
2 parents 42b27cd + 7eacee0 commit 0c03add
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ int input_init(input_parameter *param, int plugin_no)
controls_.set(controls::AfMode, controls::AfModeManual);
else
controls_.set(controls::AfMode, settings->afmode);
if (settings->afmode == controls::AfModeAuto)
controls_.set(controls::AfTrigger, controls::AfTriggerStart);
controls_flag = true;
}
if (settings->afrange) {
Expand Down

0 comments on commit 0c03add

Please sign in to comment.