fix camera writing when only byid is found

This commit is contained in:
paukstelis
2023-10-11 10:19:01 -04:00
parent 5fbcc4f1ee
commit e5a8ba4f46
2 changed files with 4 additions and 2 deletions

View File

@@ -205,7 +205,9 @@ add_camera() {
echo -e "Camera will be setup with physical USB address of ${cyan}$TEMPUSBCAM.${white}" echo -e "Camera will be setup with physical USB address of ${cyan}$TEMPUSBCAM.${white}"
echo "The camera will have to stay plugged into this location." echo "The camera will have to stay plugged into this location."
USBCAM=$TEMPUSBCAM USBCAM=$TEMPUSBCAM
else fi
#serial number
if [ -n "$CAM" ]; then
echo -e "Camera detected with serial number: ${cyan}$CAM ${white}" echo -e "Camera detected with serial number: ${cyan}$CAM ${white}"
check_sn "$CAM" check_sn "$CAM"
fi fi

View File

@@ -8,7 +8,7 @@ cyan=$(echo -en "\e[96m")
yellow=$(echo -en "\e[93m") yellow=$(echo -en "\e[93m")
main_menu() { main_menu() {
VERSION=1.0.4 VERSION=1.0.5
#reset #reset
UDEV='' UDEV=''
TEMPUSB='' TEMPUSB=''