altos: Show current flight number for TeleGPS
authorKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2014 04:52:13 +0000 (21:52 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2014 04:52:13 +0000 (21:52 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_cmd.c

index 5d8683e132da42ab3a3a3c35419bc456e1604106..0052bdce916be3fc93245f7812db33ed004c4fcf 100644 (file)
@@ -278,7 +278,7 @@ version(void)
        printf("manufacturer     %s\n"
               "product          %s\n"
               "serial-number    %u\n"
-#if HAS_FLIGHT
+#if HAS_FLIGHT || HAS_TRACKER
               "current-flight   %u\n"
 #endif
 #if HAS_LOG
@@ -293,7 +293,7 @@ version(void)
               , ao_manufacturer
               , ao_product
               , ao_serial_number
-#if HAS_FLIGHT
+#if HAS_FLIGHT || HAS_TRACKER
               , ao_flight_number
 #endif
 #if HAS_LOG