diff options
author | Bdale Garbee <bdale@gag.com> | 2014-09-06 13:40:59 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2014-09-06 13:40:59 -0600 |
commit | e9714e34091abe657aa1b30aeda9466331aa39c1 (patch) | |
tree | 60f5262b78e95511d8bcb0c6d52f23fbb59b3356 | |
parent | b357544dd64f5b0f209c6cc6cb4fa392a2c3e1fa (diff) |
tweaking test scripts
-rwxr-xr-x | ao-bringup/test-gps | 1 | ||||
-rwxr-xr-x | ao-bringup/turnon_telemega | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ao-bringup/test-gps b/ao-bringup/test-gps index a1e21626..04c467b5 100755 --- a/ao-bringup/test-gps +++ b/ao-bringup/test-gps @@ -70,6 +70,7 @@ do_gps(file f) { string[*] sats = find_gps(i, "Sats:"); int actual_flags = string_to_integer(flags[1]); + int actual_sats = string_to_integer(sats[1]); while ((actual_flags & (1 << 4)) == 0) { printf("Flags: %s\n", flags[1]); diff --git a/ao-bringup/turnon_telemega b/ao-bringup/turnon_telemega index 39a63642..46c254b6 100755 --- a/ao-bringup/turnon_telemega +++ b/ao-bringup/turnon_telemega @@ -55,3 +55,5 @@ echo 'E 0' > $dev SERIAL=$SERIAL ./cal-freq $dev ./cal-accel $dev + +echo 'E 1' > $dev |