summaryrefslogtreecommitdiff
path: root/camera
diff options
context:
space:
mode:
Diffstat (limited to 'camera')
-rwxr-xr-xcamera/camera6
1 files changed, 2 insertions, 4 deletions
diff --git a/camera/camera b/camera/camera
index 35aeedc..90cadc3 100755
--- a/camera/camera
+++ b/camera/camera
@@ -43,7 +43,7 @@ while [[ $# -gt 0 ]]; do
shift
AWB="${1}"
if [ -z "${AWB}" ]; then
- echo "Argument expoected: --awb <AWB mode>"
+ echo "Argument expected: --awb <AWB mode>"
exit 1
fi
shift
@@ -136,10 +136,8 @@ if [[ "${OPTION_TIMELAPSE}" = "yes" ]]; then
fi
CMD_EXEC="rpicam-still --verbose --timeout 0 --fullscreen "
-if [ "${ZOOM}" = "yes" ]; then
+if [[ "${ZOOM}" = "yes" ]]; then
CMD_EXEC+="--viewfinder-width 800 --viewfinder-height 600 "
-#else
-# CMD_EXEC+="--fullscreen "
fi
CMD_EXEC+="${CMD_CONTROL} ${CMD_CAPTURE} "
CMD_EXEC+="--width 4056 --height 3040 "