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"