have TeleGPS production script save RF cal value
authorBdale Garbee <bdale@gag.com>
Fri, 28 Apr 2023 06:29:01 +0000 (00:29 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 28 Apr 2023 06:29:01 +0000 (00:29 -0600)
ao-bringup/turnon_telegps

index 7c16d3619489afd4ba5bfe60855e335a3d1b6d94..45f8fcf5a847d14842120198cb8cf0c651edb555 100755 (executable)
@@ -74,7 +74,10 @@ case "$dev" in
         ;;
 esac
 
-SERIAL=$SERIAL ./cal-freq $dev
+CALFILE=cal-$SERIAL.txt
+../ao-tools/ao-cal-freq/ao-cal-freq --output=$CALFILE --tty=$dev
+CAL_VALUE=`cat $CALFILE`
+echo $SERIAL","$CAL_VALUE >> cal_values
 
 ./test-telegps-v3