Skip to content

Commit

Permalink
tools: fix usb_camera.sh not accepting parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Nov 20, 2023
1 parent 9cb0a47 commit 82dea91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/usb_camera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ CAMERA_PATH=( $(echo /dev/v4l/by-id/usb-*-video-index0) )
set -xeo pipefail
make -j$(nproc)
$GDB ./camera-streamer \
-camera-path="${CAMERA_PATH[${CAMERA_INDEX:-0}]}"
-camera-path="${CAMERA_PATH[${CAMERA_INDEX:-0}]}" \
--http-listen=0.0.0.0 \
"$@"

0 comments on commit 82dea91

Please sign in to comment.