Skip to content

Commit

Permalink
Add BiasTee option
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Apr 26, 2024
1 parent 1fade0f commit 887a333
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rootfs/etc/s6-overlay/scripts/aiscatcher
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# shellcheck shell=bash disable=SC1091,SC2016,SC2068,SC2076,SC2086,SC2015

source /scripts/common
APPNAME="aiscatcher"
s6wrap=(s6wrap --quiet --timestamps --prepend="${APPNAME}")

#---------------------------------------------------------------------------------------------
# Copyright (C) 2022-2024, Ramon F. Kolb (kx1t)
Expand Down Expand Up @@ -204,6 +202,9 @@ if [[ -n "${RTLSDR_DEVICE_SERIAL}" ]]; then
#AISCATCHER_EXTRA_OPTIONS="$(sed -E 's/-c\s+[a-dA-D ]+//g' <<< "$AISCATCHER_EXTRA_OPTIONS")" # remove any -c items from param to avoid duplication
aiscatcher_command+=("-d ${RTLSDR_DEVICE_SERIAL}")
aiscatcher_command+=("-gr tuner ${RTLSDR_DEVICE_GAIN} rtlagc ON")
if chk_enabled "${RTLSDR_DEVICE_BIASTEE}"; then
aiscatcher_command+=("BIASTEE on")
fi
if [[ -n "${RTLSDR_DEVICE_PPM}" ]]; then
aiscatcher_command+=("-p ${RTLSDR_DEVICE_PPM}")
#AISCATCHER_EXTRA_OPTIONS="$(sed -E 's/-p\s+[0-9]+\s*//g'<<< "$AISCATCHER_EXTRA_OPTIONS")" # remove any -p items from param to avoid duplication
Expand Down

0 comments on commit 887a333

Please sign in to comment.