Skip to content

Commit 64c6577

Browse files
authored
Merge pull request #219 from zivid/2026-01-25-update-python-samples
Samples: Fix auto2d tuning for variable aperture camera
2 parents 7cc87bd + aa960fe commit 64c6577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/applications/advanced/auto_2d_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def _adjust_acquisition_settings_2d(
406406
Updated tuning index
407407
408408
"""
409-
if fnum_limits[1] != fnum_limits[0]:
409+
if (fnum_limits[1] == fnum_limits[0]) and (tuning_index == 1):
410410
tuning_index = 2
411411

412412
if tuning_index == 1:

0 commit comments

Comments
 (0)