fix camera writing when only byid is found
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user