ao-bringup: Do telegps freq cal before testing GPS
authorKeith Packard <keithp@keithp.com>
Sat, 6 Jun 2015 05:52:51 +0000 (22:52 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 6 Jun 2015 05:52:51 +0000 (22:52 -0700)
This lets the GPS get some time to see sats while we're messing with
the radio frequency calibration.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-bringup/turnon_telegps

index 123f0b548655ed086aab21eafcf6821edde6aef2..ba97d503c09d476c1e52068320c286977dbf1f0c 100755 (executable)
@@ -72,10 +72,8 @@ case "$dev" in
         ;;
 esac
 
-echo 'E 0' > $dev
+SERIAL=$SERIAL ./cal-freq $dev
 
 ./test-telegps
 
-SERIAL=$SERIAL ./cal-freq $dev
-
 exit $?