From fefeb33b940b55a5705e8f02a2959d00bb1ddcfc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 10 Jul 2026 12:46:32 -0400 Subject: [PATCH] Update config fix txf --- config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config b/config index 5069e17c..b6e1398b 100755 --- a/config +++ b/config @@ -1168,10 +1168,10 @@ elif [ "$1" = "-F" ]; then echo $1 $2 $3 $4 $5 $6 $tx $rx $9 ${10} ${11} ${12} ${13} ${14} echo $1 $2 $3 $4 $5 $6 $tx $rx $9 ${10} ${11} ${12} ${13} ${14} > /home/pi/CubeSatSim/sim.cfg - txf = ${7} * 1e6 - rxf = ${8} * 1e6 + rxf=$(echo "$8 * 1000000" | bc) + txf=$(echo "$7 * 1000000" | bc) echo $txf $rxf - echo ${7} ${8} > /home/pi/CubeSatSim/frequency.txt + echo $txf $rxf > /home/pi/CubeSatSim/frequency.txt echo echo "Restarting CubeSatSim with new configuration file"