diff options
| author | Stijn Buys <ingar@telenet.be> | 2026-04-16 18:59:13 +0200 |
|---|---|---|
| committer | Stijn Buys <ingar@telenet.be> | 2026-04-16 18:59:13 +0200 |
| commit | 7cd83cd851753d831cbf902661a3c3a15becaee9 (patch) | |
| tree | a07a5d1de32989550d6e8310986ac8dd2c3c2e38 /camera | |
| parent | ede21b0f7cb802ba57d7c3b145390d17b113d83d (diff) | |
Small cleanups.
Diffstat (limited to 'camera')
| -rwxr-xr-x | camera/camera | 6 |
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 " |
