tweaking test scripts
authorBdale Garbee <bdale@gag.com>
Sat, 6 Sep 2014 19:40:59 +0000 (13:40 -0600)
committerBdale Garbee <bdale@gag.com>
Sat, 6 Sep 2014 19:40:59 +0000 (13:40 -0600)
ao-bringup/test-gps
ao-bringup/turnon_telemega

index a1e216265ac33f1b1ec780be7ecec69243a25010..04c467b5da343b92fe2a62f11ec8f142eb4d1427 100755 (executable)
@@ -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]);
index 39a636420a5ada339aff493498526073208413ac..46c254b6477bf48c2d50004237ac2b2853756875 100755 (executable)
@@ -55,3 +55,5 @@ echo 'E 0' > $dev
 SERIAL=$SERIAL ./cal-freq $dev
 
 ./cal-accel $dev
+
+echo 'E 1' > $dev