Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

fix: fix support for Raspberry Pi Camera Module v2.1 #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ while true; do
video_devices=($(find /dev -regextype sed -regex '\/dev/video[0-9]\+' | sort -nk1.11 2> /dev/null))

# add list of raspi camera into an array
if [ "`vcgencmd get_camera`" = "supported=1 detected=1" ]; then
if [[ "`vcgencmd get_camera`" = "supported=1 detected=1"* ]]; then
video_devices+=( "raspi" )
fi

Expand Down