From 42683a9dbf443bbadcbb695fd146af4c59f1f1ea Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 16 Jul 2026 17:34:06 -0400 Subject: [PATCH] Update config add mode check to Doppler mode print --- config | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config b/config index f1acfefb..fc7a1783 100755 --- a/config +++ b/config @@ -278,7 +278,14 @@ RXPL=${10} TXPL=${11} # echo ${14} - if [ "${14}" = "sim" ] ; then + if [ ( "${14}" = "sim" || "${14}" = "rig" ) && ( "$MODE" = "f" || "$MODE" = "b" || "$MODE" = "j") ] ; then + echo "Doppler frequency shift is ON but not active in this mode (only APRS, CW, SSTV, and Repeater modes)" + echo -n "TX Frequency is: " + echo -n ${7} + echo -n " MHz, RX Frequency is: " + echo -n ${8} + echo " MHz" + elif [ "${14}" = "sim" ] ; then echo "Simulated Doppler frequency shift enabled" echo -n "Current TX and RX Frequency (Hz) is: " cat /home/pi/CubeSatSim/frequency.txt