diff --git a/groundstation/fctelem.sh b/groundstation/fctelem.sh index 6bd71b1f..81fd8e77 100755 --- a/groundstation/fctelem.sh +++ b/groundstation/fctelem.sh @@ -58,7 +58,23 @@ if [[ $(/home/pi/fcdctl/fcdctl -l | grep "No FCD found") ]]; then exit else echo "FCD Found! Setting Gain" - /home/pi/fcdctl/fcdctl -g 1 -m 1 -i 0 + + FILE=/home/pi/fctelem/fctelem.cfg + if [ -f "$FILE" ]; then + +# config_string=$(> FILE + fi + + /home/pi/fcdctl/fcdctl $config_string + + # /home/pi/fcdctl/fcdctl -g 1 -m 1 -i 0 echo fi