From 7cd83cd851753d831cbf902661a3c3a15becaee9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 16 Apr 2026 18:59:13 +0200 Subject: Small cleanups. --- camera/camera | 6 ++---- 1 file 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 " + echo "Argument expected: --awb " 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 " -- cgit v1.2.3