altosdroid: Deal with AltosState changes
[fw/altos] / ao-bringup / test-gps
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]);