From b7bab56b73ddfda7229b66ec0fd6547aa111fc77 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 3 Jul 2016 17:33:10 +0200 Subject: [PATCH] add gain default value - #84 --- boswatch.py | 2 +- install_dev.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/boswatch.py b/boswatch.py index d7c1aaa..7cfc162 100755 --- a/boswatch.py +++ b/boswatch.py @@ -47,7 +47,7 @@ try: parser.add_argument("-e", "--error", help="Frequency-Error of your device in PPM", type=int, default=0) parser.add_argument("-a", "--demod", help="Demodulation functions", choices=['FMS', 'ZVEI', 'POC512', 'POC1200', 'POC2400'], required=True, nargs="+") parser.add_argument("-s", "--squelch", help="Level of squelch", type=int, default=0) - parser.add_argument("-g", "--gain", help="Level of gain", type=int, default=0) + parser.add_argument("-g", "--gain", help="Level of gain", type=int, default=100) parser.add_argument("-u", "--usevarlog", help="Use '/var/log/boswatch' for logfiles instead of subdir 'log' in BOSWatch directory", action="store_true") parser.add_argument("-v", "--verbose", help="Shows more information", action="store_true") parser.add_argument("-q", "--quiet", help="Shows no information. Only logfiles", action="store_true") diff --git a/install_dev.sh b/install_dev.sh index 4baae02..188bc7e 100644 --- a/install_dev.sh +++ b/install_dev.sh @@ -6,6 +6,7 @@ echo " / __ )/ __ \/ ___/ | / /___ _/ /______/ /_ " echo " / __ / / / /\__ \| | /| / / __ / __/ ___/ __ \ " echo " / /_/ / /_/ /___/ /| |/ |/ / /_/ / /_/ /__/ / / / " echo " /_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ " +echo " !!! WARNING: This is the DEV BRANCH !!! " echo " German BOS Information Script " echo " by Bastian Schroll " echo ""