mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
voacap - Added power level argument check
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 23 May 2023
|
# Date : 23 May 2023
|
||||||
# Updated : 17 August 2025
|
# Updated : 21 August 2025
|
||||||
# Purpose : Offline HF prediction using voacapl
|
# Purpose : Offline HF prediction using voacapl
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
source /opt/emcomm-tools/bin/et-common
|
source /opt/emcomm-tools/bin/et-common
|
||||||
@@ -174,7 +174,9 @@ elif [ "$PWR" = "500" ]; then
|
|||||||
elif [ "$PWR" = "1500" ]; then
|
elif [ "$PWR" = "1500" ]; then
|
||||||
PW="1.2000"
|
PW="1.2000"
|
||||||
else
|
else
|
||||||
echo "Unsupported power level. Defaulting to 100 watts."
|
echo "Unsupported power level."
|
||||||
|
usage
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mode
|
# Mode
|
||||||
|
|||||||
Reference in New Issue
Block a user