Skip to content

Commit 49ed592

Browse files
committed
Camera update
1 parent 5bdc722 commit 49ed592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def bsp_capture_image(image_path, board):
8484
# subprocess.run(["v4l2-ctl", "-d", "/dev/video0", "--set-ctrl=focus_auto=1"])
8585
# Manual focus
8686
subprocess.run(["v4l2-ctl", "-d", "/dev/video0", "--set-ctrl=focus_auto=0"])
87-
subprocess.run(["v4l2-ctl", "-d", "/dev/video0", "--set-ctrl=focus_absolute=20"])
87+
subprocess.run(["v4l2-ctl", "-d", "/dev/video0", "--set-ctrl=focus_absolute=50"])
8888
# Manual exposition
8989
subprocess.run(["v4l2-ctl", "-d", "/dev/video0", "--set-ctrl=exposure_auto=1"])
9090
subprocess.run(["v4l2-ctl", "-d", "/dev/video0", "--set-ctrl=exposure_absolute=1"])
@@ -129,7 +129,7 @@ def bsp_test_image(board, example, expectation):
129129
bsp_capture_image(image_file, board)
130130

131131

132-
@pytest.fixture(autouse=True)
132+
@pytest.fixture()
133133
def bsp_test(request):
134134
board = request.node.callspec.id
135135
path = Path(str(request.node.fspath))

0 commit comments

Comments
 (0)